Critical · 10.0 Critical vulnerabilities CVE-2026-121489
Path Traversal in Apache Juneau DirectoryResource Allows File Read, Write and Delete Outside Root (CVE-2026-121489)
A path traversal vulnerability in Apache Juneau's DirectoryResource lets attackers read, write, or delete files outside the configured root directory when the resource's view, upload, or delete settings are enabled. Apache Juneau 9.2.1 fixes the issue.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been published affecting Apache Juneau, identified as CVE-2026-121489. The issue involves improper restriction of file paths in the microservice DirectoryResource component, which can allow a client to access files outside the directory it was configured to serve. This briefing explains what happened, who is affected, and what action is recommended.
What happened
A path traversal vulnerability (CWE-22) was identified in Apache Juneau's DirectoryResource. This component does not properly keep request paths confined to its configured root directory. As a result, a client can potentially access, write, or delete files outside that root, in any location the server process has permission to reach.
Technical cause
The vulnerability is classified as Improper Limitation of a Pathname to a Restricted Directory (CWE-22), commonly known as path traversal. DirectoryResource fails to validate or sanitize request paths sufficiently, allowing path segments to escape the intended root directory. The impact becomes active when an application has enabled the resource's view, upload, or delete settings, which are disabled by default.
Why it matters
Depending on which settings are enabled, this vulnerability could allow an attacker to read sensitive files, write arbitrary files, or delete files outside the intended directory, anywhere the server process has filesystem access. The vulnerability has been assigned a CVSS base score of 10, the maximum possible score, reflecting that it can be exploited remotely, without authentication, and without user interaction, with potentially severe confidentiality, integrity, and availability impact.
Who is affected
Applications using Apache Juneau's DirectoryResource are affected, but only when the resource's view, upload, or delete settings have been explicitly enabled. These settings are off by default, so deployments that have not enabled them are not exposed to this issue. Affected versions are Apache Juneau through 9.2.0.
Affected versions
Apache Juneau versions through 9.2.0 are affected by this vulnerability. The vendor recommends upgrading to version 9.2.1, which fixes the issue.
Fixes and mitigation
The vendor recommends upgrading to Apache Juneau 9.2.1, which fixes this issue. Until upgraded, operators should ensure that DirectoryResource's view, upload, and delete settings remain disabled, as this limits exposure since these settings must be explicitly enabled for the vulnerability to be exploitable.
Recommended action
Organizations using Apache Juneau should identify any deployments using DirectoryResource and check whether its view, upload, or delete settings are enabled. If so, upgrade to version 9.2.1 as soon as possible. As a temporary mitigation, disable these settings if they are not strictly required, until the upgrade can be completed.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
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
EPSS 0.0050 (35 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
The vendor recommends upgrading to Apache Juneau 9.2.1, which fixes this issue. Until upgraded, operators should ensure that DirectoryResource's view, upload, and delete settings remain disabled, as this limits exposure since these settings must be explicitly enabled for the vulnerability to be exploitable.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated