Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/onnx@1.2.2
purl pkg:pypi/onnx@1.2.2
Next non-vulnerable version 1.21.0
Latest non-vulnerable version 1.21.0
Risk
Vulnerabilities affecting this package (6)
Vulnerability Summary Fixed by
VCID-2p7h-ajfk-uugy
Aliases:
CVE-2024-27318
GHSA-whh8-fjgc-qp73
PYSEC-2024-222
Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
1.16.0
Affected by 3 other vulnerabilities.
VCID-7djm-gpg9-yfgg
Aliases:
CVE-2026-34447
GHSA-p433-9wv8-28xj
PYSEC-2026-104
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is a symlink traversal vulnerability in external data loading allows reading files outside the model directory. This issue has been patched in version 1.21.0.
1.21.0
Affected by 0 other vulnerabilities.
VCID-mz2c-nefk-8ffx
Aliases:
CVE-2024-27319
GHSA-h8wv-9h96-m4hr
PYSEC-2024-223
Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONNX_ASSERTM functions have an off by one string copy.
1.16.0
Affected by 3 other vulnerabilities.
VCID-u796-p1fa-ubf5
Aliases:
CVE-2026-28500
GHSA-hqmj-h5c6-369m
PYSEC-2026-103
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. In versions up to and including 1.20.1, a security control bypass exists in onnx.hub.load() due to improper logic in the repository trust verification mechanism. While the function is designed to warn users when loading models from non-official sources, the use of the silent=True parameter completely suppresses all security warnings and confirmation prompts. This vulnerability transforms a standard model-loading function into a vector for Zero-Interaction Supply-Chain Attacks. When chained with file-system vulnerabilities, an attacker can silently exfiltrate sensitive files (SSH keys, cloud credentials) from the victim's machine the moment the model is loaded. As of time of publication, no known patched versions are available.
1.21.0rc1
Affected by 1 other vulnerability.
VCID-vufm-7t73-xfgt
Aliases:
CVE-2024-7776
GHSA-h36j-8vv3-cj52
PYSEC-2025-10
A vulnerability in the `download_model` function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.
1.16.2
Affected by 2 other vulnerabilities.
1.17.0
Affected by 2 other vulnerabilities.
VCID-vv5a-aqzk-kker
Aliases:
CVE-2022-25882
GHSA-ffxj-547x-5j7c
PYSEC-2023-38
Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example "../../../etc/passwd"
1.13.0
Affected by 5 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:24:27.728536+00:00 Pypa Importer Affected by VCID-7djm-gpg9-yfgg https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2026-104.yaml 38.6.0
2026-06-02T04:24:20.582237+00:00 Pypa Importer Affected by VCID-u796-p1fa-ubf5 https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2026-103.yaml 38.6.0
2026-06-02T04:22:53.963411+00:00 Pypa Importer Affected by VCID-vufm-7t73-xfgt https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2025-10.yaml 38.6.0
2026-06-02T04:20:58.468200+00:00 Pypa Importer Affected by VCID-2p7h-ajfk-uugy https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2024-222.yaml 38.6.0
2026-06-02T04:20:58.314824+00:00 Pypa Importer Affected by VCID-mz2c-nefk-8ffx https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2024-223.yaml 38.6.0
2026-06-02T04:18:14.420802+00:00 Pypa Importer Affected by VCID-vv5a-aqzk-kker https://github.com/pypa/advisory-database/blob/main/vulns/onnx/PYSEC-2023-38.yaml 38.6.0