Onnx vulnerabilities
We track 9 vulnerabilities in Onnx products across 2 products. 9 are rated high or critical, and none are known to be exploited. The most recent was published on August 21, 2026.
Latest Onnx vulnerabilities
- 7.1 High severity
ONNX: Improper Limitation of a Pathname to a Restricted Directory
In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's external_data location field and opens it for writing without 'O_NOFOLLOW/O_EXCL', after a non-atomic 'os.path.isfile()' check. A local attacker with w
- 8.6 High severity
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability.
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, the ExternalDataInfo class in ONNX was using Python’s setattr() function to load metadata (like file paths or data lengths) directly from an
- 7.5 High severity
onnx: Relative Path Traversal
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, a path traversal vulnerability via symlink allows to read arbitrary files outside model or user-provided directory. This issue has been patc
- 9.1 Critical severity
onnx: Insufficient Verification of Data Authenticity
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. Whi
- 9.1 Critical severity
onnx/onnx: Improper Limitation of a Pathname to a Restricted Directory
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 explo
- 8.8 High severity
onnx/onnx: Improper Limitation of a Pathname to a Restricted Directory
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability enables attackers
- 9.1 Critical severity
onnx: Out-of-bounds Read
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.
- 7.5 High severity
onnx: Improper Limitation of a Pathname to a Restricted Directory
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
- 7.5 High severity
onnx: Improper Limitation of a Pathname to a Restricted Directory
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/passw