Skip to main content
← All vulnerabilities
CVE-2026-34445GHSA-538C-55JV-C5G9PYSEC-2026-2240

ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.21.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • onnx onnx

    fixed in 1.21.0

  • onnxPyPI

    fixed in 1.21.0

References 3

GitHub · onnx/onnx