CVEBrief

Home / Apache Ant / Apache Ant / CVE-2020-1945

CVE-2020-1945: is it exploited, and which versions of Apache Ant are affected and fixed?

CVE-2020-1945 is a resource exposed to the wrong sphere vulnerability in Apache Ant. 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, 13:08 UTC). Affected: org.apache.ant:ant from 1.1 before 1.9.15 and org.apache.ant:ant from 1.10.0 before 1.10.8 (GitHub advisory GHSA-4p6w-m9wc-c9c9). Fixed in 1.9.15 and 1.10.8 (GitHub advisory GHSA-4p6w-m9wc-c9c9). Severity: Medium (6.3, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:08 UTC
Affected
org.apache.ant:ant from 1.1 before 1.9.15 and org.apache.ant:ant from 1.10.0 before 1.10.8
GitHub advisory GHSA-4p6w-m9wc-c9c9
Fixed in
1.9.15 and 1.10.8
GitHub advisory GHSA-4p6w-m9wc-c9c9
Severity
Medium 6.3
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.90% in 30 days
higher than 61% of CVEs; FIRST, December 2, 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-2020-1945?

Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.

From the CVE record by apache, last updated August 4, 2024, 06:54 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache AntApache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7

As the CVE record by apache states it, last updated August 4, 2024. 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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.ant:ant>= 1.1, < 1.9.151.9.15GHSA-4p6w-m9wc-c9c9
Mavenorg.apache.ant:ant>= 1.10.0, < 1.10.81.10.8GHSA-4p6w-m9wc-c9c9

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 8, 2022. Summary: Sensitive Data Exposure in Apache Ant.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apacheantfrom 1.1 through 1.9.14application
apacheantfrom 1.10.0 through 1.10.7application
canonicalubuntu linux19.10operating system
fedoraprojectfedora31operating system
fedoraprojectfedora32operating system
opensuseleap15.2operating system
oracleagile engineering data management6.2.1.0application
oraclebanking enterprise collectionsfrom 2.7.0 through 2.9.0application
oraclebanking liquidity managementfrom 14.0.0 through 14.4.0application
oraclebanking platformfrom 2.4.0 through 2.9.0application
oraclebusiness process management suite12.2.1.3.0application
oraclebusiness process management suite12.2.1.4.0application
oraclecategory management planning \& optimization15.0.3application
oraclecommunications asap7.3application
oraclecommunications diameter signaling routerfrom 8.0.0 through 8.2.2application
oraclecommunications metasolv solution6.3.0application
oraclecommunications order and service management7.3application
oraclecommunications order and service management7.4application
oracledata integrator12.2.1.3.0application
oracledata integrator12.2.1.4.0application
oracleendeca information discovery studio3.2.0application
oracleenterprise manager ops center12.4.0.0application
oracleenterprise repository11.1.1.7.0application
oraclefinancial services analytical applications infrastructurefrom 8.0.6 through 8.1.0application
oracleflexcube investor servicing12.1.0application

NVD analysis (status Modified), last modified June 17, 2026, 03:02 UTC.

How severe is CVE-2020-1945?

ScoreVersionVectorSource
Medium 6.3CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NNVD
Low 3.3CVSS 2.0AV:L/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-2020-1945 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.90% probability of exploitation activity in the next 30 days, percentile 60.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

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

Reserved
December 2, 2019
Published
May 14, 2020, 15:57 UTC
CVE record updated
August 4, 2024, 06:54 UTC by apache
NVD
Modified, last modified June 17, 2026, 03:02 UTC
Last checked
CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:10 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Ant?

Every CVE in Apache Ant

Questions about CVE-2020-1945

Is CVE-2020-1945 exploited in the wild?

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

Which versions of Apache Ant are affected by CVE-2020-1945?

org.apache.ant:ant from 1.1 before 1.9.15 and org.apache.ant:ant from 1.10.0 before 1.10.8, per the GitHub advisory GHSA-4p6w-m9wc-c9c9. The tables above give every range the sources list.

Which version fixes CVE-2020-1945?

1.9.15 and 1.10.8, per the GitHub advisory GHSA-4p6w-m9wc-c9c9. Check the vendor's advisory before you rely on it.

How severe is CVE-2020-1945?

Medium (6.3, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2020-1945?

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.