Home / onnx / onnx / CVE-2022-25882
CVE-2022-25882: is it exploited, and which versions of onnx are affected and fixed?
CVE-2022-25882 is a path traversal (reading or writing files outside the intended folder) vulnerability in onnx. 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:38 UTC). Affected: onnx before 1.13.0 (GitHub advisory GHSA-ffxj-547x-5j7c). Fixed in 1.13.0 (GitHub advisory GHSA-ffxj-547x-5j7c). Severity: High (7.5, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2022-25882?
Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example "../../../etc/passwd"
From the CVE record by snyk, last updated April 1, 2025, 14:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| onnx | before 1.13.0 | 1.13.0 |
As the CVE record by snyk states it, last updated April 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 |
|---|---|---|---|---|
| PyPI | onnx | < 1.13.0 | 1.13.0 | GHSA-ffxj-547x-5j7c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 1, 2025. Summary: Directory Traversal in onnx.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | onnx | before 1.13.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:34 UTC.
How severe is CVE-2022-25882?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P | snyk |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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-25882 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 1, 2025)
- EPSS
- 1.72% probability of exploitation activity in the next 30 days, percentile 78.1 (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://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- https://github.com/onnx/onnx/issues/3991
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129
- https://github.com/onnx/onnx/pull/4400
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856
Who found and reported it?
- jnovikov (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 24, 2022
- Published
- January 25, 2023, 05:00 UTC
- CVE record updated
- April 1, 2025, 14:54 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 04:34 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect onnx?
- Oct 26, 2026CVE-2026-115922 onnx: memory Allocation with Excessive Size Value
- Oct 26, 2026CVE-2026-115921 onnx: signed to Unsigned Conversion Error
- Oct 26, 2026CVE-2026-115920 onnx: out-of-bounds read
- Oct 26, 2026CVE-2026-115919 onnx: out-of-bounds read
- Aug 21, 2026CVE-2026-49114 ONNX: time-of-check time-of-use race condition
- Aug 18, 2026CVE-2026-63632 onnx: out-of-bounds read
- Jul 8, 2026CVE-2026-44512 onnx: NULL pointer dereference (crash)
- Jul 4, 2026CVE-2026-14647 onnx: out-of-bounds read
Questions about CVE-2022-25882
Is CVE-2022-25882 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of onnx are affected by CVE-2022-25882?
onnx before 1.13.0, per the GitHub advisory GHSA-ffxj-547x-5j7c. The tables above give every range the sources list.
Which version fixes CVE-2022-25882?
1.13.0, per the GitHub advisory GHSA-ffxj-547x-5j7c. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-25882?
High (7.5, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2022-25882?
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.