Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Apache

Advisory Analysis

Ubuntu Patches Apache Commons VFS Path Traversal Flaw in libcommons-vfs-java

Ubuntu Security Notice USN-9295-1 covers a flaw in Apache Commons VFS that could let an attacker reach files outside the intended directory. Fixed package versions are listed for Ubuntu 24.04, 22.04, 20.04 ESM and 18.04 ESM.

ApacheWebVulnerabilities

Key points

  • Ubuntu USN-9295-1 covers a file-access flaw in Apache Commons VFS, packaged as libcommons-vfs-java.
  • The issue involves URL-encoded parent-directory sequences when paths are resolved relative to a base directory.
  • Fixed versions are listed for Ubuntu 24.04, 22.04, and the 20.04 and 18.04 ESM releases.
  • No CVE identifier, severity rating, or exploitation status is given in the report.

According to Ubuntu Security Notice USN-9295-1, published December 1, 2026, a weakness in Apache Commons VFS, a Java library for accessing a range of filesystems, can allow files to be reached that lie outside the directory an application intends to expose. The notice credits Arnout Engelen with discovering the issue.

The defect involves improper handling of URL-encoded parent-directory sequences when the library resolves file paths relative to a base directory. The notice says an attacker could possibly use this to reach files outside the intended directory. The affected Ubuntu package is libcommons-vfs-java.

Ubuntu lists fixed package versions for 24.04 (2.1-4+deb12u1build0.24.04.1), 22.04 (2.1-2+deb11u1build0.22.04.1), 20.04 ESM (2.1-2ubuntu0.20.04.1~esm1) and 18.04 ESM (2.1-2ubuntu0.18.04.1~esm1). The notice states that a standard system update applies the necessary changes.

The report does not include a CVE identifier, a severity rating, or any statement on whether exploitation has been observed. Readers should consult the original Ubuntu Security Notice USN-9295-1 for the full advisory.

What to do

  1. Run a standard system update on Ubuntu hosts that have libcommons-vfs-java installed.
  2. Check the installed libcommons-vfs-java version against the fixed versions listed in USN-9295-1.
  3. Search for a CVE identifier for this issue in the original notice or other advisories, since none is given in the report.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9295-1: Apache Commons VFS vulnerability”

Arnout Engelen discovered that Apache Commons VFS incorrectly handled encoded parent directory references in paths when resolving files within a base directory. An attacker could possibly use this issue to access files outside of the intended directory.

More on this topic