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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons VFS | < 2.10.0 | 2.10.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | commons-vfs | 2.1-5 | — |
| Debian 13 | commons-vfs | 2.1-5 | — |
| Debian 12 | commons-vfs | 2.1-4+deb12u1 | — |
| Debian 11 | commons-vfs | 2.1-2+deb11u1 | DLA-4111-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | commons-vfs | No fix yet | — |
| Ubuntu 26.04 LTS | commons-vfs | No fix yet | — |
| Ubuntu 25.10 | commons-vfs | No fix yet | — |
| Ubuntu 24.04 LTS | commons-vfs | No fix yet | — |
| Ubuntu 22.04 LTS | commons-vfs | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | commons-vfs | No fix yet | — |
| Ubuntu 18.04 LTS | commons-vfs | No fix yet | — |
| Ubuntu 16.04 LTS | commons-vfs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 ELS | apache-commons-vfs +3 | 2.0-11.el7_9.1 | RHSA-2025:10548 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache-commons-vfs2 | 2.10.0-1.1 | openSUSE-SU-2025:14929-1 |
| openSUSE Leap 15.6 | apache-commons-vfs2 | 2.10.0-150200.3.3.1 | SUSE-SU-2025:1022-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | apache-commons-vfs +3 | 2.0-11.amzn2.0.2 | ALAS2-2025-2842 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | apache-commons-vfs +3 | 2.0-11.0.1.el7 | ELSA-2025-10548 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-vfs2 | < 2.10.0 | 2.10.0 | GHSA-9q4x-fr4m-jp86 |
Advisories 15
- WID-SEC-2026-2431 Oracle SQL Developer: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 21, 2026
- RHSA-2025:10548 Red Hat Security Advisory: apache-commons-vfs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DLA-4111-1 commons-vfs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:1022-1 Security update for apache-commons-vfs2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14929-1 apache-commons-vfs2-2.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2361 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- WID-SEC-2025-2360 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- NCSC-2025-0333 Kwetsbaarheden verholpen in Oracle Financial Services NCSC-NL (Netherlands) · Oct 23, 2025
- NCSC-2025-0330 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Oct 23, 2025
- WID-SEC-2025-2356 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 22, 2025
- WID-SEC-2025-2353 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 21, 2025
- WID-SEC-2025-0622 Apache Commons: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 23, 2025
- ELSA-2025-10548 Moderate: apache-commons-vfs security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 23, 2025
- WID-SEC-2025-1572 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- ALAS2-2025-2842 Moderate: apache-commons-vfs security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 30, 2025
References
- https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb vendor-advisory