{"id":"CVE-2025-27553","published":"2025-03-23T14:16:20Z","modified":"2025-04-02T22:03:21Z","title":"Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT","vendor":"Apache","product":"Apache Commons VFS","tier":"tail","description":{"text":"Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.\n\nThe FileObject API in Commons VFS has a 'resolveFile' method that\ntakes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that \"an exception is thrown if the resolved file is not a descendent of\nthe base file\". However, when the path contains encoded \"..\"\ncharacters (for example, \"%2E%2E/bar.txt\"), it might return file objects that are not\na descendent of the base file, without throwing an exception.\nThis issue affects Apache Commons VFS: before 2.10.0.\n\nUsers are recommended to upgrade to version 2.10.0, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02049,"percentile":0.81862,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/1","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00006.html","tags":[]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":16.37},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Commons VFS","versions":["< 2.10.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-24T13:43:35.551341Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.commons:commons-vfs2","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-9q4x-fr4m-jp86"],"provenance":"source"}],"summary":{"text":"Apache Commons VFS (before 2.10.0) has a relative path traversal flaw in the FileObject resolveFile method when called with NameScope.DESCENDENT, which fails to enforce the descendant check when the path contains percent-encoded \"..\" sequences such as \"%2E%2E/\". An attacker who can supply such a path to the affected resolveFile call over the network, without authentication or user interaction, can obtain file objects outside the intended base directory, exposing data they should not reach.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:46Z"},"euvd":{"id":"EUVD-2025-7319","exploited":false,"provenance":"source"}}