onnx
PyPI18 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting onnxpage 1 of 1
- CVE-2022-25882HIGHCVSS 7.5EG 7.5fixed in 1.13.02023-01-26
vulnerable: 0.1 ... v0.1 (29 versions)
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 exampl…
- CVE-2024-27318HIGHCVSS 7.5EG 7.5fixed in 1.16.02024-02-23
vulnerable: 0.1 ... v0.1 (34 versions)
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 directo…
- CVE-2024-27319MEDIUMCVSS 4.4EG 4.4fixed in 1.16.02024-02-23
vulnerable: 0.1 ... v0.1 (34 versions)
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.
- CVE-2024-5187HIGHCVSS 8.8EG 8.8fixed in 1.16.22024-06-06
vulnerable: 0.1 ... 1.9.0 (34 versions)
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 vulnerabili…
- CVE-2024-7776CRITICALCVSS 9.1EG 9.1fixed in 1.17.0 or 1.16.2, by version range2025-03-20
vulnerable: 0.1 ... 1.9.0 (32 versions)
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 vulne…
- CVE-2025-51480HIGHCVSS 8.8EG 8.82025-07-22
vulnerable: 0.1 ... 1.9.0 (34 versions)
Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended …
- CVE-2026-115919MEDIUMCVSS 6.2EG 6.2fixed in 1.22.02026-10-26
vulnerable: 0.1 ... 1.9.0 (50 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, RNNShapeInference_opset1_to_6() processes malformed RNN and LSTM nodes from opsets 1 through 6 and GRU nodes from opsets 3 thro…
- CVE-2026-115920MEDIUMCVSS 6.2EG 6.2fixed in 1.22.02026-10-26
vulnerable: 1.10.0 ... 1.9.0 (42 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.2.1 until 1.22.0, ConvTranspose shape inference processes a weight tensor with fewer than three dimensions without a kernel_shape attribu…
- CVE-2026-115921MEDIUMCVSS 6.2EG 6.2fixed in 1.22.02026-10-26
vulnerable: 1.10.0 ... 1.9.0 (38 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the requir…
- CVE-2026-115922MEDIUMCVSS 6.2EG 6.2fixed in 1.22.02026-10-26
vulnerable: 0.1 ... 1.9.0 (50 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to 1.22.0, _unpack_2bit() and _unpack_4bit() resize unpacked arrays according to attacker-controlled TensorProto.dims without verifying th…
- CVE-2026-27489HIGHCVSS 7.5EG 7.5fixed in 1.21.02026-04-01
vulnerable: 0.1 ... 1.9.0 (47 versions)
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. Thi…
- CVE-2026-28500CRITICALCVSS 9.1EG 9.1fixed in 1.21.0rc12026-03-16
vulnerable: 0.1 ... 1.9.0 (43 versions)
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 verifi…
- CVE-2026-34445HIGHCVSS 8.6EG 8.6fixed in 1.21.02026-04-01
vulnerable: 0.1 ... 1.9.0 (47 versions)
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 le…
- CVE-2026-34446MEDIUMCVSS 4.7EG 4.7fixed in 1.21.02026-04-01
vulnerable: 0.1 ... 1.9.0 (47 versions)
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…
- CVE-2026-34447MEDIUMCVSS 5.5EG 5.5fixed in 1.21.02026-04-01
vulnerable: 0.1 ... 1.9.0 (47 versions)
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. T…
- CVE-2026-44512MEDIUMCVSS 5.5EG 5.5fixed in 1.22.02026-07-07
vulnerable: 1.10.0 ... 1.9.0 (31 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.9.0 before 1.22.0, onnx.version_converter.convert_version() can dereference a null pointer in Upsample_6_7::adapt_upsample_6_7() in onnx/…
- CVE-2026-49114HIGHCVSS 7.1EG 7.1fixed in 1.21.02026-08-21
vulnerable: 0.1 ... 1.9.0 (47 versions)
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 …
- CVE-2026-63632LOWCVSS 3.3EG 3.3fixed in 1.22.02026-07-24
vulnerable: 1.10.0 ... 1.9.0 (39 versions)
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.3.0 until 1.22.0, onnx.version_converter.convert_version() can perform an out-of-bounds read in Gemm_7_6::adapt_gemm_7_6() in onnx/versio…
Check whether onnx is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for onnx CVEs against the assets you own.
Book a Demo →