{"id":"CVE-2026-34446","published":"2026-04-01T17:37:54Z","modified":"2026-04-02T14:10:36Z","title":"ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load","vendor":"onnx","product":"onnx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.04535,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb","tags":["x_refsource_MISC"]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":0.91},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"onnx","affectedVersions":[{"vendor":"onnx","product":"onnx","versions":["< 1.21.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-02T14:10:29.172559Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onnx","vulnerableRanges":["<1.21.0"],"patched":["1.21.0"],"from":["GHSA-cmw6-hcpp-c6jp","PYSEC-2026-2241"],"provenance":"source"}],"summary":{"text":"The ONNX library's onnx.load function, in versions before 1.21.0, contains a path traversal flaw in its handling of external data references: it blocks symbolic links but fails to detect hardlinks, which are indistinguishable from regular files on disk. An attacker who can supply a crafted ONNX model that references a hardlinked file can read arbitrary local files, but this requires a local attack position, high attack complexity, and a user to open the malicious model.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:12Z"},"euvd":{"id":"EUVD-2026-17987","exploited":false,"provenance":"source"}}