CVE-2026-34446
published medium CVSS 3.1 · 4.7ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| onnx | — | onnx< 1.21.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| onnx | onnx | < 1.21.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
2Provider assertions
2GitHub_M · cna
ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a6b4d682a98956764f83ebfa608300e25a37b34c70e4680808706f62c88785c5
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record