CVE-2026-34446
mediumpriority · track · 22EPSS 0.002 · 7 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-cmw6-hcpp-c6jpONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load2026-04-01ghsa · osvUS
### Summary The issue is in `onnx.load` — the code checks for symlinks to prevent path traversal, but completely misses hardlinks, which is the problem, since a hardlink looks exactly like a regular file on the filesystem. ### The Real Problem The validator in `onnx/checker.cc` only calls `is_symlink()` and never checks the inode or `st_nlink`, so a hardlink walks right through every security check without any issues. ### Impact Especially dangerous in AI supply chain scenarios like HuggingFace — a single malicious model is enough to silently steal secrets from the victim's machine without them noticing anything.
- PYSEC-2026-22412026-04-01vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cbcnnvd
- https://github.com/onnx/onnx/releasesPatchcnnvd
- https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jpcnnvd
- https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cbenisa_euvd
- https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jpenisa_euvd
- https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cbPatchnvd
- https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jpVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan