Summary
CVE-2026-121489 is a path traversal vulnerability (CWE-22) in the DirectoryResource component of Apache Juneau. When the view, upload, or delete settings are enabled, a remote attacker can read, write, or delete files outside the configured root directory. The CVE record rates it Critical, with a CVSS score of 10.0.
Technical details
- Root cause:
DirectoryResourcedoes not restrict request paths to the configured root directory (CWE-22, Improper Limitation of a Pathname to a Restricted Directory). - Trigger conditions: The view, upload, or delete settings must be enabled. The CVE record states these are disabled by default.
- Attack vector: Network. Attack complexity is low, and no privileges or user interaction are required, according to the CVE record’s vector.
- Impact: An attacker can read, write, or delete files outside the root, "anywhere the server process has access". This affects the confidentiality, integrity, and availability of the host.
- Credit: Reported by LTSHFWJT.
Affected software
org.apache.juneau:juneau-microservice-core: versions through 9.2.0org.apache.juneau:juneau-commons: versions through 9.2.0
Severity
- CVSS v4.0 base score: 10.0 (Critical)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H - The CVE record provides a CVSS v4.0 score. We did not find a CVSS v3.1 vector.
Mitigation and recommended actions
- Immediate: Upgrade
juneau-microservice-coreandjuneau-commonsto version 9.2.1 or later. - Workaround, if you cannot patch immediately: Disable the view, upload, and delete settings on any
DirectoryResource. The CVE record says these are disabled by default. Check that no deployment has enabled them. We did not find a vendor-published workaround beyond this configuration condition. - Restrict network access to Juneau-based services that expose
DirectoryResource. Run the server process with the minimum file-system permissions it needs.

