Home / Apache Software Foundation / Apache Ivy / CVE-2022-46751
CVE-2022-46751: is it exploited, and which versions of Apache Software Foundation Apache Ivy are affected and fixed?
CVE-2022-46751 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache Ivy. 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, 08:38 UTC). Affected: org.apache.ivy:ivy before 2.5.2 (GitHub advisory GHSA-2jc4-r94c-rp7h). Fixed in 2.5.2 (GitHub advisory GHSA-2jc4-r94c-rp7h). Severity: High (8.2, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:36 UTC.
What is CVE-2022-46751?
Apache Ivy: XML External Entity vulnerability in Apache Ivy
Improper Restriction of XML External Entity Reference, XML Injection (aka Blind XPath Injection) vulnerability in Apache Software Foundation Apache Ivy.This issue affects any version of Apache Ivy prior to 2.5.2. When Apache Ivy prior to 2.5.2 parses XML files - either its own configuration, Ivy files or Apache Maven POMs - it will allow downloading external document type definitions and expand any entity references contained therein when used. This can be used to exfiltrate data, access resources only the machine running Ivy has access to or disturb the execution of Ivy in different ways. Starting with Ivy 2.5.2 DTD processing is disabled by default except when parsing Maven POMs where the default is to allow DTD processing but only to include a DTD snippet shipping with Ivy that is needed to deal with existing Maven POMs that are not valid XML files but are nevertheless accepted by Maven. Access can be be made more lenient via newly introduced system properties where needed. Users of Ivy prior to version 2.5.2 can use Java system properties to restrict processing of external DTDs, see the section about "JAXP Properties for External Access restrictions" inside Oracle's "Java API for XML Processing (JAXP) Security Guide".
From the CVE record by apache, last updated February 13, 2025, 16:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | from 1.0.0 through 2.5.1 |
As the CVE record by apache states it, last updated February 13, 2025. 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.ivy:ivy | < 2.5.2 | 2.5.2 | GHSA-2jc4-r94c-rp7h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Apache Ivy External Entity Reference vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ivy | before 2.5.2 | application |
NVD analysis (status Modified), last modified November 10, 2026, 12:10 UTC.
How severe is CVE-2022-46751?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L | CISA-ADP |
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L | NVD |
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-2022-46751 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 27, 2024)
- EPSS
- 2.00% probability of exploitation activity in the next 30 days, percentile 81.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://docs.oracle.com/en/java/javase/13/security/java-api-xml-processing-jaxp-security-guide.html#GUID-94ABC0EE-9DC8-44F0-84AD-47ADD5340477 mitigation
- https://gitbox.apache.org/repos/asf?p=ant-ivy.git;a=commit;h=2be17bc18b0e1d4123007d579e43ba1a4b6fab3d patch
- https://lists.apache.org/thread/9gcz4xrsn8c7o9gb377xfzvkb8jltffr release-notes
- https://lists.apache.org/thread/1dj60hg5nr36kjr4p1100dwjrqookps8 vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/09/06/9
Who found and reported it?
- CC Bomber, Kitri BoB (finder)
- Jenkins Security Team (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 7, 2022
- Published
- August 21, 2023, 06:55 UTC
- CVE record updated
- February 13, 2025, 16:33 UTC by apache
- NVD
- Modified, last modified November 10, 2026, 12:10 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Ivy?
- Jul 15, 2026CVE-2026-26032 Apache Software Foundation Apache Ivy: path traversal (reading or writing files outside the intended folder)
- Nov 7, 2022CVE-2022-37866 Apache Software Foundation Apache Ivy: path traversal (reading or writing files outside the intended folder)
- Nov 7, 2022CVE-2022-37865 Apache Software Foundation Apache Ivy: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2022-46751
Is CVE-2022-46751 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 2.00% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Ivy are affected by CVE-2022-46751?
org.apache.ivy:ivy before 2.5.2, per the GitHub advisory GHSA-2jc4-r94c-rp7h. The tables above give every range the sources list.
Which version fixes CVE-2022-46751?
2.5.2, per the GitHub advisory GHSA-2jc4-r94c-rp7h. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-46751?
High (8.2, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-46751?
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.