CVE-2026-34445 Details
Description
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 ONNX model file. It didn’t check if the "keys" in the file were valid. Due to this, an attacker could craft a malicious model that overwrites internal object properties. This issue has been patched in version 1.21.0.
A vulnerability in the Open Neural Network Exchange (ONNX) library, specifically in versions prior to 1.21.0, allows for attribute injection into the ExternalDataInfo class. This issue arises because the class used Python's setattr() function to load metadata from ONNX model files without validating the keys. As a result, an attacker could craft a malicious model that overwrites internal object properties, leading to potential object corruption and denial-of-service conditions. The vulnerability is triggered when the ONNX library processes external data attributes in TensorProto objects, during model loading operations.
Users should update to ONNX version 1.21.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/onnx/onnx/commit/e30c6935d67cc3eca2fa284e37248e7c0036c46b | [email protected] | Patch |
| https://github.com/onnx/onnx/pull/7751 | [email protected] | Issue TrackingPatch |
| https://github.com/onnx/onnx/security/advisories/GHSA-538c-55jv-c5g9 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation onnx | < 1.21.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2026 | Initial Analysis | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |