CVE-2024-7776
CRITICAL 9.1CVSS 3.1Open Neural Network Exchange (ONNX) Path Traversal Vulnerability
A vulnerability in the download_model function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.
- Published
- 20 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-h36j-8vv3-cj52PYSEC-2025-10
- Sources
- NVDJSONOSV GHSA-h36j-8vv3-cj52JSONOSV PYSEC-2025-10JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | onnx | onnxcpe:2.3:a:onnx:onnx:*:*:*:*:*:*:*:* |
<= 1.16.1 | |
| OSV | PyPI | onnx | < 1.17.0 | 1.17.0 |
| OSV | PyPI | onnx | < 1.16.2 | 1.16.2 |
References
- https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2024-7776 · ADVISORY
- https://github.com/onnx/onnx/pull/6222 · WEB
- https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f · WEB
- https://github.com/onnx/onnx · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2025-10.yaml · WEB
- https://github.com/advisories/GHSA-h36j-8vv3-cj52 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)