PYSEC-2026-2241

At a glance

Published
Updated
CVE
CVE-2026-34446
Aliases
GHSA-cmw6-hcpp-c6jp
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

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

PackageVersions
PyPI · onnxintroduced 0, fixed 1.21.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database