Home

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-04-01 | Updated 2026-04-02 | Assigner GitHub_M




MEDIUM: 4.7CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-61: UNIX Symbolic Link (Symlink) Following

Product status

< 1.21.0
affected

References

github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp

github.com/...ommit/4755f8053928dce18a61db8fec71b69c74f786cb

cve.org (CVE-2026-34446)

nvd.nist.gov (CVE-2026-34446)

Download JSON