ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Summary
ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-34446 onnx
- Ubuntu UBUNTU-CVE-2026-34446 onnx
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com