CVE-2026-121489

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

Published Nov 5, 2026 CVSS 4.0 · 10 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a Path Traversal flaw (CWE‑22) in Apache Juneau’s DirectoryResource. It allows a client to construct a request path that escapes the configured root directory and access any file that the server process can read, write, or delete. The exposed features—view, upload, delete—are disabled by default but may be enabled by an application developer, granting an attacker the ability to exfiltrate data, alter configuration files, or delete critical files, which could be leveraged for further compromise such as remote code execution.

Affected Systems

Systems affected are installations of Apache Juneau version 9.2.0 and earlier. The Apache Software Foundation recommends upgrading to version 9.2.1, which includes a fix that enforces path containment for the DirectoryResource.

Risk and Exploitability

The vulnerability carries a CVSS score of 10, reflecting a critical impact and high exploitation potential. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit this flaw remotely over an accepted network connection to the DirectoryResource endpoint. The exploit requires that the view, upload, or delete options are enabled; the path traversal is performed by crafting a specially crafted URL that includes directory traversal characters.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Juneau 9.2.1 or later to apply the fix that enforces path containment.
  • If an upgrade is not immediately possible, disable the view, upload, and delete options on DirectoryResource to eliminate the traversal vector.
  • Ensure the server process runs with the least privilege necessary and that the root directory for DirectoryResource is correctly configured.
  • Implement logging or IDS rules to detect unauthorized file accesses and review file system permissions regularly.

Generated by OpenCVE AI on November 5, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache juneau
Vendors & Products Apache
Apache juneau
Type Values Removed Values Added
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.
Title Apache Juneau: Path traversal in DirectoryResource allows reading files outside the configured root directory
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 10, '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 10, 2026, 7:05 PM
Reserved
Nov 3, 2026, 2:03 PM
Status
Deferred
Published
Nov 5, 2026, 12:17 PM
Modified
Nov 10, 2026, 7:20 PM