Relative Path Traversal Vulnerability in Apache Commons VFS by Apache
CVE-2025-27553
7.5HIGH
What is CVE-2025-27553?
A relative path traversal vulnerability exists in Apache Commons VFS prior to version 2.10.0. The 'resolveFile' method in the FileObject API is designed to ensure file paths remain within the base file's directory using the 'NameScope.DESCENDENT' parameter. However, due to inadequate handling of encoded '..' characters in file paths, it may allow access to files outside the intended directory without raising an exception. This poses potential security risks, making it crucial for users to upgrade to version 2.10.0 or later to mitigate this issue.
Affected Version(s)
Apache Commons VFS 0 < 2.10.0