Skip to content

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

HighCVSS 7.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/commons-vfs(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 26.10) All versions No fix listed No fix yet
apache commons vfs < 2.10.0 2.10.0 Fixed
debian/commons-vfs(Debian 12) < 2.1-4+deb12u1; = 2.1-4 2.1-4+deb12u1 Fixed
debian/commons-vfs(Debian 13) < 2.1-5 2.1-5 Fixed
debian/commons-vfs(Debian 14) < 2.1-5 2.1-5 Fixed
org.apache.commons/commons-vfs2(Maven) < 2.10.0; = 2.0; = 2.1; = 2.2 +8 more 2.10.0 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.commons/commons-vfs2(Maven) < 2.10.0 2.10.0
org.apache.commons/commons-vfs2(Maven) = 2.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.1 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.2 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.3 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.4 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.4.1 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.5.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.6.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.7.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.8.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.9.0 No fix listed
debian/commons-vfs(Debian:12) < 2.1-4+deb12u1 2.1-4+deb12u1
debian/commons-vfs(Debian:12) = 2.1-4 No fix listed
debian/commons-vfs(Debian:13) < 2.1-5 2.1-5
debian/commons-vfs(Debian:14) < 2.1-5 2.1-5
ubuntu/commons-vfs(Ubuntu:22.04) All versions No fix listed
ubuntu/commons-vfs(Ubuntu:24.04) All versions No fix listed
ubuntu/commons-vfs(Ubuntu:26.04) All versions No fix listed
apache commons vfs < 2.10.0 2.10.0
ubuntu/commons-vfs(Ubuntu:26.10) All versions No fix listed

References