CVE-2021-29425

published 13 Apr 2021 · updated 7 Oct 2026

Possible limited path traversal vulnerabily in Apache Commons IO

7.0HighCVSS 6.5EPSS 11%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 11%. No fixed version is recorded.

In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation=Apache Commons IO 2.2, =Apache Commons IO 2.3, =Apache Commons IO 2.4, =Apache Commons IO 2.5, =Apache Commons IO 2.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-29425 severity on Zeptric[![CVE-2021-29425](https://zeptric.io/badge/cve/CVE-2021-29425.svg)](https://zeptric.io/cve/CVE-2021-29425)