USN-9295-1: Apache Commons VFS vulnerability

Published Dec 1, 2026
·
Updated

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.

Affected Software

10 affected componentsFixes available
All of the following
ubuntu/libcommons-vfs-java<2.1-4+deb12u1build0.24.04.1
2.1-4+deb12u1build0.24.04.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libcommons-vfs-java<2.1-2+deb11u1build0.22.04.1
2.1-2+deb11u1build0.22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libcommons-vfs-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libcommons-vfs-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libcommons-vfs-java<2.0-7ubuntu1+esm1
2.0-7ubuntu1+esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libcommons-vfs-java to a version that resolves this vulnerability.

    Fixed in 2.1-4+deb12u1build0.24.04.1
  2. Upgrade

    Upgrade ubuntu/libcommons-vfs-java to a version that resolves this vulnerability.

    Fixed in 2.1-2+deb11u1build0.22.04.1
  3. Upgrade

    Upgrade ubuntu/libcommons-vfs-java to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  4. Upgrade

    Upgrade ubuntu/libcommons-vfs-java to a version that resolves this vulnerability.

    Fixed in 2.0-7ubuntu1+esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs a way to supply a path that is resolved within a configured base directory. Encoded parent-directory references may allow that path to resolve outside the intended directory.

2

What is the potential impact if exploitation succeeds?

An attacker could possibly access files outside the directory that the application intended to expose.

3

Which Ubuntu package is identified as affected?

The advisory identifies the Ubuntu libcommons-vfs-java package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203