Vulnerability · Published Apr 1, 2026 · Assigned by GitHub_M

CVE-2026-34446ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load

Medium 4.7

In plain English

A medium-severity path traversal in onnx from onnx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.2%top 92.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onnxno fix listedDEBIAN-CVE-2026-34446
Debian:13onnxno fix listedDEBIAN-CVE-2026-34446
Debian:14onnxno fix listedDEBIAN-CVE-2026-34446
PyPIonnx1.21.0GHSA-cmw6-hcpp-c6jp
PyPIonnx1.21.0PYSEC-2026-2241
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2026-34446
Ubuntu:25.10onnxno fix listedUBUNTU-CVE-2026-34446
Ubuntu:26.04:LTSonnxno fix listedUBUNTU-CVE-2026-34446
Ubuntu:26.10onnxno fix listedUBUNTU-CVE-2026-34446

Affected products (as reported)

VendorProductVersions
onnx onnx < 1.21.0

Weakness: CWE-22, CWE-61 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

References