Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. onnx
  4. ›
  5. CVE-2026-34446

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

April 1, 2026

The issue is in onnx.load — the code checks for symlinks to prevent path traversal, but completely misses hardlinks, which is the problem, since a hardlink looks exactly like a regular file on the filesystem.

References

  • github.com/advisories/GHSA-cmw6-hcpp-c6jp
  • github.com/onnx/onnx
  • github.com/onnx/onnx/commit/4755f8053928dce18a61db8fec71b69c74f786cb
  • github.com/onnx/onnx/security/advisories/GHSA-cmw6-hcpp-c6jp
  • nvd.nist.gov/vuln/detail/CVE-2026-34446

Code Behaviors & Features

Detect and mitigate CVE-2026-34446 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.21.0

Fixed versions

  • 1.21.0

Solution

Upgrade to version 1.21.0 or above.

Impact 4.7 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

pypi/onnx/CVE-2026-34446.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:15 +0000.