CVEBrief

Home / Apache Software Foundation / Apache Commons IO / CVE-2021-29425

CVE-2021-29425: is it exploited, and which versions of Apache Software Foundation Apache Commons IO are affected and fixed?

CVE-2021-29425 is an improper input validation vulnerability in Apache Software Foundation Apache Commons IO. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: commons-io:commons-io before 2.7, com.cosium.vet:vet through 3.22, com.virjar:ratel-api through 1.3.6 and 4 more (GitHub advisory GHSA-gwrp-pvrq-jmwv). Fixed in 2.7 (GitHub advisory GHSA-gwrp-pvrq-jmwv). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:59 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
commons-io:commons-io before 2.7, com.cosium.vet:vet through 3.22, com.virjar:ratel-api through 1.3.6 and 4 more
GitHub advisory GHSA-gwrp-pvrq-jmwv
Fixed in
2.7
GitHub advisory GHSA-gwrp-pvrq-jmwv
Severity
Medium 6.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
10.5% in 30 days
higher than 96% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-29425?

Possible limited path traversal vulnerabily in Apache Commons IO

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.

From the CVE record by apache, last updated October 7, 2026, 18:16 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Commons IOApache Commons IO 2.2
Apache Commons IO 2.3
Apache Commons IO 2.4
Apache Commons IO 2.5
Apache Commons IO 2.6

As the CVE record by apache states it, last updated October 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 14, 2024. Summary: Path Traversal and Improper Input Validation in Apache Commons IO.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachecommons io2.2application
apachecommons io2.3application
apachecommons io2.4application
apachecommons io2.5application
apachecommons io2.6application
debiandebian linux9.0operating system
oracleaccess manager11.1.2.3.0application
oracleaccess manager12.2.1.3.0application
oracleaccess manager12.2.1.4.0application
oracleagile engineering data management6.2.1.0application
oracleagile product lifecycle management9.3.6application
oracleapplication performance management13.4.1.0application
oracleapplication performance management13.5.1.0application
oracleapplication testing suite13.3.0.1application
oraclebanking apis18.1application
oraclebanking apis18.2application
oraclebanking apis18.3application
oraclebanking apis19.1application
oraclebanking apis19.2application
oraclebanking apis20.1application
oraclebanking apis21.1application
oraclebanking digital experience17.2application
oraclebanking digital experience18.1application
oraclebanking digital experience18.3application
oraclebanking digital experience19.1application

NVD analysis (status Modified), last modified October 7, 2026, 19:17 UTC.

How severe is CVE-2021-29425?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCISA-ADP
Medium 4.8CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NNVD
Medium 5.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-29425 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 7, 2026)
EPSS
10.5% probability of exploitation activity in the next 30 days, percentile 95.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Neither the method in question (FileNameUtils.normalize) nor any methods, that invoke it, do actually access any files. There's only a string returned, from which a path can be constructed. In other words, a possible workaround would be not passing any unsafe input to FileNameUtils.normalize.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
March 30, 2021
Published
April 13, 2021, 06:50 UTC
CVE record updated
October 7, 2026, 18:16 UTC by apache
NVD
Modified, last modified October 7, 2026, 19:17 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:59 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Commons IO?

Every CVE in Apache Commons IO

Questions about CVE-2021-29425

Is CVE-2021-29425 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 10.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Apache Software Foundation Apache Commons IO are affected by CVE-2021-29425?

commons-io:commons-io before 2.7, com.cosium.vet:vet through 3.22, com.virjar:ratel-api through 1.3.6, net.hasor:cobble-lang through 4.6.2, org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io through 1.5, org.checkerframework.annotatedlib:commons-io from 2.6 before 2.7 and 1 more, per the GitHub advisory GHSA-gwrp-pvrq-jmwv. The tables above give every range the sources list.

Which version fixes CVE-2021-29425?

2.7, per the GitHub advisory GHSA-gwrp-pvrq-jmwv. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-29425?

Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2021-29425?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.