UNIX Symbolic Link (Symlink) Following Affecting onnx package, versions [,1.21.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about UNIX Symbolic Link (Symlink) Following vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ONNX-15873848
  • published2 Apr 2026
  • disclosed1 Apr 2026
  • creditZeroXJacks

Introduced: 1 Apr 2026

CVE-2026-34446  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade onnx to version 1.21.0 or higher.

Overview

onnx is an Open Neural Network Exchange

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the onnx.load function. An attacker can access arbitrary files on the filesystem by supplying a malicious model that leverages hardlinks to bypass security checks intended to prevent unauthorized file access.

CVSS Base Scores

version 4.0
version 3.1