Improper Input Validation Affecting py3-onnx package, versions <1.21.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PY3ONNX-15891918
  • published4 Apr 2026
  • disclosed1 Apr 2026

Introduced: 1 Apr 2026

CVE-2026-34445  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade Chainguard py3-onnx to version 1.21.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-onnx package and not the py3-onnx package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.