# CVE-2025-27553: Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2025-03-23T14:16:20.363Z
- Modified: 2026-06-17T09:03:47.477Z
- Also known as: GHSA-9q4x-fr4m-jp86
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.

The FileObject API in Commons VFS has a 'resolveFile' method that
takes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that "an exception is thrown if the resolved file is not a descendent of
the base file". However, when the path contains encoded ".."
characters (for example, "%2E%2E/bar.txt"), it might return file objects that are not
a descendent of the base file, without throwing an exception.
This issue affects Apache Commons VFS: before 2.10.0.

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

(As written by CVE List.)

## Affected

- org.apache.commons:commons-vfs2: before 2.10.0
- org.apache.commons:commons-vfs2 (Maven): before 2.10.0
- apache commons_vfs: before 2.10.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/03/23/1> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00006.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27553> (advisory)
- <https://github.com/apache/commons-vfs> (package)

## Sources

- CVE List: [CVE-2025-27553](https://www.cve.org/CVERecord?id=CVE-2025-27553), CVE Terms of Use, modified 2025-04-02
- GitHub Advisory Database: [GHSA-9q4x-fr4m-jp86](https://github.com/advisories/GHSA-9q4x-fr4m-jp86), CC-BY-4.0, modified 2025-04-03
- NVD: [CVE-2025-27553](https://nvd.nist.gov/vuln/detail/CVE-2025-27553), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27553 · Whole record: https://cve.day/CVE-2025-27553.json · Rebuilt by cve.day 2026-11-25T22:58:55.436Z
