commons-vfs — security advisory
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.
- Products
- commons-vfs
- Affected versions
- 2.0-3ubuntu1, 2.0-7ubuntu1, 2.1-1, 2.1-2, 2.1-4, 2.1-5
- Fixed versions
- Not specified
- CVEs
- CVE-2025-27553
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:26 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-27553
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
commons-vfs
Fixed versions: Not specified
Complete source record
{
"id": "031c9d1182aeb4fa4064d324e0d57d2db07a3665ef49e4557cfe0f73ac2b0308",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-27553",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-27553",
"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.",
"evidence": "osv:UBUNTU-CVE-2025-27553",
"products": [
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0-3ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.0-7ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.1-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-4",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-4",
"evidence": "/affected/5/versions"
},
{
"value": "2.1-5",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-5",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "commons-vfs",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-5",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-27553",
"aliases": [
"UBUNTU-CVE-2025-27553"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.0-3ubuntu1",
"2.0-7ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.0-7ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.1-1",
"2.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.1-4",
"2.1-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.1-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "commons-vfs",
"purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.1-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27553.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-vfs-java",
"binary_version": "2.1-5"
}
]
}
}
],
"modified": "2026-10-17T12:56:49.535025456Z",
"provider": "osv",
"upstream": [
"CVE-2025-27553"
],
"references": [
"https://ubuntu.com/security/CVE-2025-27553",
"https://www.cve.org/CVERecord?id=CVE-2025-27553",
"https://www.openwall.com/lists/oss-security/2025/03/23/1",
"https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb"
]
},
"related_cves": [
{
"value": "CVE-2025-27553",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356396,
"published_at": "2025-03-23T15:15:00+00:00"
}