CVE-2025-27553
Severity CVSS v4.0:
Pending analysis
Type:
CWE-23
Relative Path Traversal
Publication date:
23/03/2025
Last modified:
02/04/2025
Description
Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.<br />
<br />
The FileObject API in Commons VFS has a &#39;resolveFile&#39; method that<br />
takes a &#39;scope&#39; parameter. Specifying &#39;NameScope.DESCENDENT&#39; promises that "an exception is thrown if the resolved file is not a descendent of<br />
the base file". However, when the path contains encoded ".."<br />
characters (for example, "%2E%2E/bar.txt"), it might return file objects that are not<br />
a descendent of the base file, without throwing an exception.<br />
This issue affects Apache Commons VFS: before 2.10.0.<br />
<br />
Users are recommended to upgrade to version 2.10.0, which fixes the issue.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:* | 2.10.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



