Home / onnx / onnx / CVE-2024-27318
CVE-2024-27318: is it exploited, and which versions of onnx are affected and fixed?
CVE-2024-27318 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, 15:39 UTC). Affected: onnx before 1.16.0 (GitHub advisory GHSA-whh8-fjgc-qp73). Fixed in 1.16.0 (GitHub advisory GHSA-whh8-fjgc-qp73). Severity: High (7.5, CVSS 3.1, from HiddenLayer).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-27318?
Versions of the package onnx before and including 1.15.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. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
From the CVE record by HiddenLayer, last updated February 13, 2025, 17:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| onnx | onnx | through 1.15.0 |
As the CVE record by HiddenLayer 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 |
|---|---|---|---|---|
| PyPI | onnx | < 1.16.0 | 1.16.0 | GHSA-whh8-fjgc-qp73 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Onnx Directory Traversal vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | onnx | before 1.16.0 | application |
| fedoraproject | fedora | 39 | operating system |
| fedoraproject | fedora | 40 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:19 UTC.
How severe is CVE-2024-27318?
| 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 | HiddenLayer |
| 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-2024-27318 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 14, 2024)
- EPSS
- 1.19% probability of exploitation activity in the next 30 days, percentile 68.9 (FIRST EPSS, scores of December 3, 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://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/
When was it published, and where is the official record?
- Reserved
- February 23, 2024
- Published
- February 23, 2024, 17:37 UTC
- CVE record updated
- February 13, 2025, 17:46 UTC by HiddenLayer
- NVD
- Modified, last modified June 17, 2026, 07:19 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 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-2024-27318
Is CVE-2024-27318 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of onnx are affected by CVE-2024-27318?
onnx before 1.16.0, per the GitHub advisory GHSA-whh8-fjgc-qp73. The tables above give every range the sources list.
Which version fixes CVE-2024-27318?
1.16.0, per the GitHub advisory GHSA-whh8-fjgc-qp73. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-27318?
High (7.5, CVSS 3.1, from HiddenLayer). The severity table above shows each score with its source.
Where is the official record of CVE-2024-27318?
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.