Home / Apache Software Foundation / Apache Ivy / CVE-2022-37865
CVE-2022-37865: is it exploited, and which versions of Apache Software Foundation Apache Ivy are affected and fixed?
CVE-2022-37865 is a path traversal (reading or writing files outside the intended folder) 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, 12:08 UTC). Affected: org.apache.ivy:ivy from 2.4.0 before 2.5.1 (GitHub advisory GHSA-94rr-4jr5-9h2p). Fixed in 2.5.1 (GitHub advisory GHSA-94rr-4jr5-9h2p). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 19:39 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-37865?
Apache Ivy allows creating/overwriting any file on the system
With Apache Ivy 2.4.0 an optional packaging attribute has been introduced that allows artifacts to be unpacked on the fly if they used pack200 or zip packaging. For artifacts using the "zip", "jar" or "war" packaging Ivy prior to 2.5.1 doesn't verify the target path when extracting the archive. An archive containing absolute paths or paths that try to traverse "upwards" using ".." sequences can then write files to any location on the local fie system that the user executing Ivy has write access to. Ivy users of version 2.4.0 to 2.5.0 should upgrade to Ivy 2.5.1.
From the CVE record by apache, last updated May 2, 2025, 18:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | from 2.4.0 before unspecified through 2.5.0 | unspecified |
As the CVE record by apache states it, last updated May 2, 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.4.0, < 2.5.1 | 2.5.1 | GHSA-94rr-4jr5-9h2p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 2, 2025. Summary: Apache Ivy does not verify target path when extracting the archive.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ivy | from 2.4.0 before 2.5.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:55 UTC.
How severe is CVE-2022-37865?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | CISA-ADP |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | 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-37865 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 2, 2025)
- EPSS
- 2.15% probability of exploitation activity in the next 30 days, percentile 82.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://lists.apache.org/thread/gqvvv7qsm2dfjg6xzsw1s2h08tbr0sdy
- FEDORA-2023-35f775fd6e vendor-advisory
Who found and reported it?
- This issue was discovered by Kostya Kortchinsky of the Databricks Security Team. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 8, 2022
- Published
- November 7, 2022, 00:00 UTC
- CVE record updated
- May 2, 2025, 18:35 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:55 UTC
- Last checked
- CVE list November 28, 2026, 19:39 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 12:08 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)
- Aug 21, 2023CVE-2022-46751 Apache Software Foundation Apache Ivy: XML external entity (XXE)
- Nov 7, 2022CVE-2022-37866 Apache Software Foundation Apache Ivy: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2022-37865
Is CVE-2022-37865 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.15% 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-37865?
org.apache.ivy:ivy from 2.4.0 before 2.5.1, per the GitHub advisory GHSA-94rr-4jr5-9h2p. The tables above give every range the sources list.
Which version fixes CVE-2022-37865?
2.5.1, per the GitHub advisory GHSA-94rr-4jr5-9h2p. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-37865?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-37865?
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.