CVE-2026-34446
MEDIUM 5.5CVSS 3.1ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is an issue in onnx.load, the code checks for symlinks to prevent path traversal, but completely misses hardlinks because a hardlink looks exactly like a regular file on the filesystem. This issue has been patched in version 1.21.0.
- Published
- 1 Apr 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-61
- Also known as
- GHSA-cmw6-hcpp-c6jpPYSEC-2026-2241
- Sources
- NVDJSONOSV GHSA-cmw6-hcpp-c6jpJSONOSV PYSEC-2026-2241JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | onnxcpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* |
< 1.21.0 | 1.21.0 |
| OSV | PyPI | onnx | < 1.21.0 | 1.21.0 |
References
- https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb · Patch, WEB, FIX
- https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34446 · ADVISORY
- https://github.com/onnx/onnx · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2026)