CVE-2025-27553 json
Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
published last yr. modified 4mo ago also EUVD-2025-7319 , GHSA-9q4x-fr4m-jp86
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.commons:commons-vfs2 2.10.0
- Apache Software Foundation Apache Commons VFS 2.10.0
- commons-vfs Debian 12 2.1-4+deb12u1
- commons-vfs Debian 14, Debian 13 2.1-5
debian advisories DEBIAN-CVE-2025-27553
- apache-commons-vfs RHEL 7 ELS 2.0-11.el7_9.1
- apache-commons-vfs-ant RHEL 7 ELS 2.0-11.el7_9.1
- apache-commons-vfs-javadoc RHEL 7 ELS 2.0-11.el7_9.1
- apache-commons-vfs-examples RHEL 7 ELS 2.0-11.el7_9.1
red hat advisories RHSA-2025:10548
- apache-commons-vfs2 openSUSE Leap 15.6 2.10.0-150200.3.3.1
suse advisories SUSE-SU-2025:1022-1
- apache-commons-vfs2 openSUSE Tumbleweed 2.10.0-1.1
opensuse advisories openSUSE-SU-2025:14929-1
Is CVE-2025-27553 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-27553 updated cvss 5.3
apache-commons-vfs: Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
-
Red Hat Enterprise Linux Server Optional (v. 7 ELS) apache-commons-vfs 2.0-11.el7_9.1, apache-commons-vfs-ant 2.0-11.el7_9.1, apache-commons-vfs-javadoc 2.0-11.el7_9.1, apache-commons-vfs-examples 2.0-11.el7_9.1fixed: vendor fix RHSA-2025:10548
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-vfs2 | <2.10.0 |
2.10.0 |
Affected products
- Apache Software Foundation Apache Commons VFS
Classification
- Weakness
-
- CWE-23 Relative Path Traversal
References
-
lists.apache.org
/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2025/03/23/1
web, mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/04/msg00006.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-27553
advisory
-
github.com
/apache/commons-vfs
package
Sources
- CVE List CVE-2025-27553
- GitHub Advisory GHSA-9q4x-fr4m-jp86
- NVD CVE-2025-27553
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.