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.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cmw6-hcpp-c6jp ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
Weaknesses CWE-22
CWE-61
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-01T17:37:54.737Z

Reserved: 2026-03-27T18:18:14.894Z

Link: CVE-2026-34446

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-01T18:16:30.660

Modified: 2026-04-01T18:16:30.660

Link: CVE-2026-34446

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses