CVE-2025-27553
published high CVSS 3.1 · 7.5Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.commons:commons-vfs2Apache Commons VFS · 0 to < 2.10.0 · Other versions: unaffected | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2842 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | commons-vfs | Advisory build | 2.1-2+deb11u1 | DLA-4111-1 |
| Oracle Linux | 7 | apache-commons-vfsx86_64 | Advisory build | 0:2.0-11.0.1.el7 | ELSA-2025-10548 |
| Red Hat Enterprise Linux | RHEL-7 | apache-commons-vfsnoarch | Advisory build | 2.0-11.el7_9.1 | RHSA-2025:10548 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache-commons-vfs2noarch | Advisory build | 2.10.0-150200.3.3.1 | SUSE-SU-2025:1022-1 |
| Ubuntu | bionic | commons-vfs | Advisory build | 2.1-2ubuntu0.18.04.1~esm1 | USN-9295-1 |
| Amazon Linux | AL2 | apache-commons-vfsnoarch | Listed in advisory | Not stated | ALAS2-2025-2842 |
Show 36 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | apache-commons-vfs-antx86_64 | Advisory build | 0:2.0-11.0.1.el7 | ELSA-2025-10548 |
| Oracle Linux | 7 | apache-commons-vfs-examplesx86_64 | Advisory build | 0:2.0-11.0.1.el7 | ELSA-2025-10548 |
| Oracle Linux | 7 | apache-commons-vfs-javadocx86_64 | Advisory build | 0:2.0-11.0.1.el7 | ELSA-2025-10548 |
| Red Hat Enterprise Linux | RHEL-7 | apache-commons-vfssrc | Advisory build | 2.0-11.el7_9.1 | RHSA-2025:10548 |
| Red Hat Enterprise Linux | RHEL-7 | apache-commons-vfs-antnoarch | Advisory build | 2.0-11.el7_9.1 | RHSA-2025:10548 |
| Red Hat Enterprise Linux | RHEL-7 | apache-commons-vfs-examplesnoarch | Advisory build | 2.0-11.el7_9.1 | RHSA-2025:10548 |
| Red Hat Enterprise Linux | RHEL-7 | apache-commons-vfs-javadocnoarch | Advisory build | 2.0-11.el7_9.1 | RHSA-2025:10548 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache-commons-vfs2-antnoarch | Advisory build | 2.10.0-150200.3.3.1 | SUSE-SU-2025:1022-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache-commons-vfs2-examplesnoarch | Advisory build | 2.10.0-150200.3.3.1 | SUSE-SU-2025:1022-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache-commons-vfs2-javadocnoarch | Advisory build | 2.10.0-150200.3.3.1 | SUSE-SU-2025:1022-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2aarch64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2ppc64le | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2s390x | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2x86_64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-antaarch64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-antppc64le | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-ants390x | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-antx86_64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-examplesaarch64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-examplesppc64le | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-exampless390x | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-examplesx86_64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-javadocaarch64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-javadocppc64le | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-javadocs390x | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-vfs2-javadocx86_64 | Advisory build | 2.10.0-1.1 | OPENSUSE-SU-2025:14929-1 |
| Ubuntu | bionic | libcommons-vfs-java | Advisory build | 2.1-2ubuntu0.18.04.1~esm1 | USN-9295-1 |
| Ubuntu | focal | commons-vfs | Advisory build | 2.1-2ubuntu0.20.04.1~esm1 | USN-9295-1 |
| Ubuntu | focal | libcommons-vfs-java | Advisory build | 2.1-2ubuntu0.20.04.1~esm1 | USN-9295-1 |
| Ubuntu | jammy | commons-vfs | Advisory build | 2.1-2+deb11u1build0.22.04.1 | USN-9295-1 |
| Ubuntu | jammy | libcommons-vfs-java | Advisory build | 2.1-2+deb11u1build0.22.04.1 | USN-9295-1 |
| Ubuntu | noble | commons-vfs | Advisory build | 2.1-4+deb12u1build0.24.04.1 | USN-9295-1 |
| Ubuntu | noble | libcommons-vfs-java | Advisory build | 2.1-4+deb12u1build0.24.04.1 | USN-9295-1 |
| Ubuntu | xenial | commons-vfs | Advisory build | 2.0-7ubuntu1+esm1 | USN-9295-1 |
| Ubuntu | xenial | libcommons-vfs-java | Advisory build | 2.0-7ubuntu1+esm1 | USN-9295-1 |
| Amazon Linux | AL2 | apache-commons-vfssrc | Listed in advisory | Not stated | ALAS2-2025-2842 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Commons VFS | 0 to < 2.10.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-23 CWE-23 Relative Path Traversal
References
3Provider assertions
3apache · cna
Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ef3a49a979aa4cf7900f8a838410fb51b632ec1664192da84e8730d205ba56a
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record