Home / Apache Software Foundation / Apache Ivy / CVE-2022-37866
CVE-2022-37866: is it exploited, and which versions of Apache Software Foundation Apache Ivy are affected and fixed?
CVE-2022-37866 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, 14:38 UTC). Affected: org.apache.ivy:ivy from 2.0.0 before 2.5.1 (GitHub advisory GHSA-wv7w-rj2x-556x). Fixed in 2.5.1 (GitHub advisory GHSA-wv7w-rj2x-556x). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 28, 2026, 19:39 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-37866?
Apache Ivy allows path traversal in the presence of a malicious repository
When Apache Ivy downloads artifacts from a repository it stores them in the local file system based on a user-supplied "pattern" that may include placeholders for artifacts coordinates like the organisation, module or version. If said coordinates contain "../" sequences - which are valid characters for Ivy coordinates in general - it is possible the artifacts are stored outside of Ivy's local cache or repository or can overwrite different artifacts inside of the local cache. In order to exploit this vulnerability an attacker needs collaboration by the remote repository as Ivy will issue http requests containing ".." sequences and a "normal" repository will not interpret them as part of the artifact coordinates. Users of Apache Ivy 2.0.0 to 2.5.1 should upgrade to Ivy 2.5.1.
From the CVE record by apache, last updated May 1, 2025, 20:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | from 2.0.0 before unspecified through 2.5.0 | unspecified |
As the CVE record by apache states it, last updated May 1, 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.0.0, < 2.5.1 | 2.5.1 | GHSA-wv7w-rj2x-556x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 10, 2022. Summary: Apache Ivy vulnerable to path traversal.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ivy | from 2.0.0 before 2.5.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:55 UTC.
How severe is CVE-2022-37866?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | 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-37866 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 1, 2025)
- EPSS
- 1.91% probability of exploitation activity in the next 30 days, percentile 80.4 (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/htxbr8oc464hxrgroftnz3my70whk93b
- 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 1, 2025, 20:46 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, 14: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)
- Aug 21, 2023CVE-2022-46751 Apache Software Foundation Apache Ivy: XML external entity (XXE)
- Nov 7, 2022CVE-2022-37865 Apache Software Foundation Apache Ivy: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2022-37866
Is CVE-2022-37866 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.91% 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-37866?
org.apache.ivy:ivy from 2.0.0 before 2.5.1, per the GitHub advisory GHSA-wv7w-rj2x-556x. The tables above give every range the sources list.
Which version fixes CVE-2022-37866?
2.5.1, per the GitHub advisory GHSA-wv7w-rj2x-556x. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-37866?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-37866?
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.