WaratekVRT Sign in

CVE-2025-27553 Apache Commons VFS

Affected softwareApache Commons VFS
Severity7.5 High CVSS 3.1
Fixed in2.10.0
WeaknessRelative path traversal (CWE-23)
Published23 Mar 2025
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-23: Relative Path Traversal.

How to mitigate CVE-2025-27553

Upgrade Apache Commons VFS to 2.10.0 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle SQL Developer / Infrastructure (Apache Commons VFS) (19.3-24.3)
Oracle Critical Patch Update October 2025 ↗ CPU 2025-Q4 Oracle Communications / Security (Apache Commons VFS) (47.0)
Oracle Communications Applications / Security (Apache Commons VFS) (7.4.0, 7.4.1, 7.5.0)
Oracle Communications Applications / Security (Apache Commons VFS) (7.5.0-7.5.1, 7.6.0-7.8.0)
Oracle Construction and Engineering / Admin (Apache Commons VFS) (20.12.0-20.12.17, 21.12.0-21.12.15)
Oracle Financial Services Applications / Platform (Apache Commons VFS) (8.0.7.9, 8.0.8.7)
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Fusion Middleware / Centralized Thirdparty Jars (Apache Commons VFS) (12.2.1.4.0, 14.1.2.0.0)
Oracle Fusion Middleware / Third Party (Apache Commons VFS) (12.2.1.4.0, 14.1.2.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Security (Apache Commons VFS) 47.0 47.0
Oracle Communications Applications Security (Apache Commons VFS) 7.5.0-7.5.1, 7.6.0-7.8.0 7.4.0 · 7.4.1 · 7.5.0
Oracle Construction and Engineering Admin (Apache Commons VFS) 20.12.0-20.12.17, 21.12.0-21.12.15
Oracle Financial Services Applications Platform (Apache Commons VFS) 8.0.7.9, 8.0.8.7 8.0.7.9 · 8.0.8.7
Oracle Fusion Middleware Centralized Thirdparty Jars (Apache Commons VFS) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle Fusion Middleware Third Party (Apache Commons VFS) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle SQL Developer Infrastructure (Apache Commons VFS) 19.3-24.3

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.commons:commons-vfs2 0 2.10.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache commons vfs generic < 2.10.0
osv org.apache.commons commons-vfs2 generic < 2.10.0

References

URLTags
https://github.com/apache/commons-vfs PACKAGE
https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb WEB
https://lists.debian.org/debian-lts-announce/2025/04/msg00006.html WEB
http://www.openwall.com/lists/oss-security/2025/03/23/1 WEB

Timeline

Published2025-03-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.