CVE-2026-34446
MEDIUM4.7EPSS 0.00%ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Published: 4/1/2026Modified: 4/28/2026
Also known as:DEBIAN-CVE-2026-34446
Description
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.
Affected packages (2)
- Debian/onnxfrom 0
- PyPI/onnxfrom 0, < 1.21.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-34446
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-34446
- PATCHhttps://github.com/onnx/onnx
- WEBhttps://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb
- WEBhttps://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp