CVE-2025-27553
Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
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.
- Record
CVE-2025-27553- 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 - Weakness
- CWE-23
- Updated
- 2026-11-02
EUVDEUVD-2025-7319
7.5
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.
- Record
EUVD-2025-7319- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9q4x-fr4m-jp86
7.5
Apache Commons VFS Has Relative Path Traversal Vulnerability
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.
- Record
GHSA-9q4x-fr4m-jp86- 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 - Weakness
- CWE-23
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2025-27553- 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 - Weakness
- CWE-23
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2025-27553- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-27553
7.5
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.
- Record
DEBIAN-CVE-2025-27553- 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 - Updated
- 2026-11-02
Show 13 moreShow less
OSVGHSA-9q4x-fr4m-jp86
7.5
Apache Commons VFS Has Relative Path Traversal Vulnerability
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.
- Record
GHSA-9q4x-fr4m-jp86- 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 - Weakness
- CWE-23
- Updated
- 2026-11-02
OSVOESA-2025-1356
7.5
apache-commons-vfs security update
Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.
Security Fix(es):
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.(CVE-2025-27553)
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS.
The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0.
Users are recommended to upgrade to version 2.10.0, which fixes the issue.(CVE-2025-30474)
- Record
OESA-2025-1356- 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 - Updated
- 2026-11-02
OSVOESA-2025-1357
7.5
apache-commons-vfs security update
Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.
Security Fix(es):
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.(CVE-2025-27553)
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS.
The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0.
Users are recommended to upgrade to version 2.10.0, which fixes the issue.(CVE-2025-30474)
- Record
OESA-2025-1357- 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 - Updated
- 2026-11-02
OSVOESA-2025-1940
7.5
apache-commons-vfs security update
Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.
Security Fix(es):
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.(CVE-2025-27553)
- Record
OESA-2025-1940- 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 - Updated
- 2026-11-02
OSVOESA-2025-1941
7.5
apache-commons-vfs security update
Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.
Security Fix(es):
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.(CVE-2025-27553)
- Record
OESA-2025-1941- 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 - Updated
- 2026-11-02
OSVOESA-2025-1942
7.5
apache-commons-vfs security update
Commons VFS provides a uniform view of files through a single API which is designed for accessing various different file systems. These file systems could be a local disk, an HTTP server or a ZIP archive file. The key features are listed as follows: * The API is consistent among various file types. * Support for a wide range of file systems. * Support caching local file system with different fs types. * Event delivery. * Provides in-JVM info caching. * A set of Ant tasks which VFS is enabled. * Easy to be intergrated into applications such as VFS-aware ClassLoader and URLStreamHandlerFactory.
Security Fix(es):
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.(CVE-2025-27553)
- Record
OESA-2025-1942- 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 - Updated
- 2026-11-02
OSVRHSA-2025:10548
5.3
Red Hat Security Advisory: apache-commons-vfs security update
- Record
RHSA-2025:10548- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-27553
7.5
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.
- Record
UBUNTU-CVE-2025-27553- 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 - Updated
- 2026-11-02
OSVCLSA-2026-1778460297 No score
TuxCare security update for com.microsoft.ews-java-api:ews-java-api (1 CVE)
TuxCare rebuilt com.microsoft.ews-java-api:ews-java-api to address 1 CVE. Fixed in 2.0-tuxcare.1.
- Record
CLSA-2026-1778460297- Updated
- 2026-11-02
OSVCLSA-2026-1780361380 No score
TuxCare security update for commons-digester:commons-digester (1 CVE)
TuxCare rebuilt commons-digester:commons-digester to address 1 CVE. Fixed in 2.0-tuxcare.1.
- Record
CLSA-2026-1780361380- Updated
- 2026-11-02
OSVCLSA-2026-1784164089 No score
TuxCare security update for org.apache.commons:commons-vfs2 (1 CVE)
TuxCare rebuilt org.apache.commons:commons-vfs2 to address 1 CVE. Fixed in 2.0-tuxcare.1.
- Record
CLSA-2026-1784164089- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14929-1 No score
apache-commons-vfs2-2.10.0-1.1 on GA media
These are all security issues fixed in the apache-commons-vfs2-2.10.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14929-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:1022-1 No score
Security update for apache-commons-vfs2
This update for apache-commons-vfs2 fixes the following issues:
- CVE-2025-27553: Fixed possible path traversal issue when using NameScope.DESCENDENT (bsc#1239973)
- CVE-2025-30474: Fixed information disclosure due to failing to find an FTP file reveal the URI's password in an error message (bsc#1239974)
Other fixes:
- Upgrade to upstream version 2.10.0
- Record
SUSE-SU-2025:1022-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.commons:commons-vfs2Maven |
before 2.10.0 | 2.10.0 |
org.apache.commons:commons-vfs2TuxCare:Maven |
2.0 up to 2.0-tuxcare.1 | 2.0-tuxcare.1 |
commons-vfsDebian:12 |
before 2.1-4+deb12u1, plus listed versions 2.1-4 |
2.1-4+deb12u1 |
commons-vfsDebian:13 |
before 2.1-5 | 2.1-5 |
commons-vfsDebian:14 |
before 2.1-5 | 2.1-5 |
commons-vfsDebian:11 |
before 2.1-2+deb11u1, plus listed versions 2.1-2 |
2.1-2+deb11u1 |
org.apache.commons:commons-vfs2Maven |
before 2.10.0, plus listed versions 2.02.12.22.32.4 Show 6 moreShow less2.4.12.5.02.6.02.7.02.8.02.9.0 |
2.10.0 |
apache-commons-vfsopenEuler:24.03-LTS-SP1 From an advisory covering 2 CVEs |
before 2.10.0-1.oe2403sp1 | 2.10.0-1.oe2403sp1 |
apache-commons-vfsopenEuler:24.03-LTS From an advisory covering 2 CVEs |
before 2.10.0-1.oe2403 | 2.10.0-1.oe2403 |
apache-commons-vfsopenEuler:22.03-LTS-SP4 |
before 2.1-16.oe2203sp4 | 2.1-16.oe2203sp4 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
apache-commons-vfsopenEuler:20.03-LTS-SP4 |
before 2.1-16.oe2003sp4 | 2.1-16.oe2003sp4 |
apache-commons-vfsopenEuler:22.03-LTS-SP3 |
before 2.1-16.oe2203sp3 | 2.1-16.oe2203sp3 |
apache-commons-vfsRed Hat:rhel_els:7 |
before 0:2.0-11.el7_9.1 | 0:2.0-11.el7_9.1 |
apache-commons-vfs-antRed Hat:rhel_els:7 |
before 0:2.0-11.el7_9.1 | 0:2.0-11.el7_9.1 |
apache-commons-vfs-examplesRed Hat:rhel_els:7 |
before 0:2.0-11.el7_9.1 | 0:2.0-11.el7_9.1 |
apache-commons-vfs-javadocRed Hat:rhel_els:7 |
before 0:2.0-11.el7_9.1 | 0:2.0-11.el7_9.1 |
apache-commons-vfs2openSUSE:Leap 15.6 From an advisory covering 2 CVEs |
before 2.10.0-150200.3.3.1 | 2.10.0-150200.3.3.1 |
commons-vfsUbuntu:16.04:LTS |
All versions, plus listed versions 2.0-3ubuntu12.0-7ubuntu1 |
None known |
commons-vfsUbuntu:18.04:LTS |
All versions, plus listed versions 2.1-12.1-2 |
None known |
commons-vfsUbuntu:20.04:LTS |
All versions, plus listed versions 2.1-2 |
None known |
commons-vfsUbuntu:22.04:LTS |
All versions, plus listed versions 2.1-2 |
None known |
commons-vfsUbuntu:24.04:LTS |
All versions, plus listed versions 2.1-4 |
None known |
commons-vfsUbuntu:25.10 |
All versions, plus listed versions 2.1-42.1-5 |
None known |
commons-vfsUbuntu:26.10 |
All versions, plus listed versions 2.1-5 |
None known |
commons-vfsUbuntu:26.04:LTS |
All versions, plus listed versions 2.1-5 |
None known |
apache-commons-vfs2openSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 2.10.0-1.1 | 2.10.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27553 is a high vulnerability (CVSS 7.5) in Apache Commons Vfs, published March 23, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in org.apache.commons:commons-vfs2 2.10.0.
References
lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb
openwall.com/lists/oss-security/2025/03/23/1
lists.debian.org/debian-lts-announce/2025/04/msg00006.html
nvd.nist.gov/vuln/detail/CVE-2025-27553
github.com/advisories/GHSA-9q4x-fr4m-jp86
security-tracker.debian.org/tracker/CVE-2025-27553
Show 20 moreShow less
github.com/apache/commons-vfs
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1356
nvd.nist.gov/vuln/detail/CVE-2025-30474
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1357
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1940
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1941
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1942
access.redhat.com/errata/RHSA-2025:10548
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2354334
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_10548.json
access.redhat.com/security/cve/CVE-2025-27553
cve.org/CVERecord?id=CVE-2025-27553
suse.com/support/update/announcement/2025/suse-su-20251022-1
bugzilla.suse.com/1239973
bugzilla.suse.com/1239974
suse.com/security/cve/CVE-2025-27553
suse.com/security/cve/CVE-2025-30474
ubuntu.com/security/CVE-2025-27553
lists.opensuse.org/archives/list/[email protected]/thread/TJEKF3EWGBGJVNKZDARY564OGCSKZCWT