VDB

CVE-2025-27553

CVE-2025-27553 PUBLISHED CVSS 7.5 HIGH

Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT

Reported by apache · Published March 23, 2025

commons-vfs2 is fixed in 2.10.0 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.commons:commons-vfs2Maven Central2.10.0
apache-commons-vfs-antAmazon Linux2.0-11.amzn2.0.2
apache-commons-vfs-javadocAmazon Linux2.0-11.amzn2.0.2
apache-commons-vfsAmazon Linux2.0-11.amzn2.0.2
apache-commons-vfs-examplesAmazon Linux2.0-11.amzn2.0.2
commons_vfsapache2.10.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache Commons VFS0
Mavenorg.apache.commons:commons-vfs20
amazon:2apache-commons-vfs-ant0
amazon:2apache-commons-vfs-javadoc0
amazon:2apache-commons-vfs0
Apache Software FoundationApache Commons VFS0
amazon:2apache-commons-vfs-examples0

Timeline

  • Mar 23, 2025 CVE Published
  • Mar 24, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 24, 2025 Coalition ESS Score (29 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (7 in total, the first dated here)
  • Nov 2, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-27553
vulnetix vdb fixes CVE-2025-27553

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27553/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›