---
id: CVE-2026-121489
title: >-
  Apache Juneau: Path traversal in DirectoryResource allows reading files
  outside the configured root directory
summary: >-
  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 enab…
severity: critical
cvss: 10
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-22
vendor: Apache Software Foundation
product: 'org.apache.juneau:juneau-microservice-core'
affected:
  - 'org.apache.juneau:juneau-microservice-core < 9.2.1'
  - 'org.apache.juneau:juneau-commons < 9.2.1'
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T11:55:23.820Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121489'
references:
  - url: 'https://lists.apache.org/thread.html/j05q7vw08j48o96tdlzcsd4sozx1lyl6'
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.831Z'
---

## Overview

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

- `org.apache.juneau:juneau-microservice-core < 9.2.1`
- `org.apache.juneau:juneau-commons < 9.2.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
