CRITICAL 10.0

CVE-2026-121489

Apache Juneau: Path traversal in DirectoryResource allows reading files outside the configured root directory

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Juneau.

The microservice DirectoryResource does not keep request paths inside its configured root directory. When an application enables the resource's view, upload or delete settings (all off by default), a client can read, write or delete files outside the root, anywhere the server process has access.

This issue affects Apache Juneau: through 9.2.0.

Users are recommended to upgrade to version 9.2.1, which fixes the issue.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.juneau » juneau-commonspreliminary
< 9.2.1
9.2.1
org.apache.juneau » juneau-microservice-corepreliminary
< 9.2.1
9.2.1

Blast radius

2affected artifacts
14affected versions
30dependent artifacts (est.)
158dependent versions

13% of the dependent artifacts (4) still pull an affected version in their latest release.

DepthDependent versions
Direct
49
2 hops
62
3 hops
37
4 hops
7
5 hops
2
6 hops
1

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.