cve.bz

CVE-2025-27553 apache commons vfs: Relative Path Traversal

7.5 highEPSS 1.4%Fix available

High (7.5) in apache commons vfs. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.commons:commons-vfs2 2.10.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-23 Relative Path Traversal
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-27553 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27553?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27553?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27553 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons VFSbefore 2.10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9q4x-fr4m-jp86Mavenorg.apache.commons:commons-vfs2<2.10.02.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11commons-vfs2.1-2+deb11u1DLA-4111-1
Debian12commons-vfs2.1-4+deb12u1DEBIAN-CVE-2025-27553
Debian13, 14commons-vfs2.1-5DEBIAN-CVE-2025-27553
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morecommons-vfsno fix listedUBUNTU-CVE-2025-27553
Red Hatrhel_els:7apache-commons-vfs, apache-commons-vfs-ant, apache-commons-vfs-javadoc and 1 more0:2.0-11.el7_9.1RHSA-2025:10548
openSUSELeap 15.6apache-commons-vfs22.10.0-150200.3.3.1SUSE-SU-2025:1022-1
openSUSETumbleweedapache-commons-vfs22.10.0-1.1openSUSE-SU-2025:14929-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportapache-commons-vfs-0:2.0-11.el7_9.1Fixed 2025-07-08RHSA-2025:10548

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27553.

Attack patterns (CAPEC)

  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-139 Relative Path Traversal Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON