Skip to content
ONNXGHSA-hqmj-h5c6-369m

ONNX Untrusted Model Repository Warnings Suppressed by silent=True in onnx.hub.load() , Silent Supply-Chain Attack

High8.6CVE-2026-28500 · Published Mar 16, 2026 · updated Sep 10, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
onnx
PyPI
< 1.21.0rc11.21.0rc1
Details and references

## What's the issue Passing `silent=True` to `onnx.hub.load()` kills all trust warnings and user prompts. This means a model can be downloaded from any unverified GitHub repo with zero user awareness. ```python if not _verify_repo_ref(repo) and not silent: # completely skipped when silent=True print("The model repo... is not trusted") if input().lower() != "y": return None ``` On top of that, the SHA256 integrity check is useless here , it validates against a manifest that lives in the same repo the attacker controls, so the hash will always match. ## Impact Any pipeline using `hub.load()` with `silent=True` and an external repo string is silently loading whatever the repo owner ships. If that model executes arbitrary code on load, the attacker has access to the machine. ## Resolved by removing the feature ## References - [Write-up](https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-28500.md)

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-345, CWE-494, CWE-693
Also known as
CVE-2026-28500, PYSEC-2026-103

More ONNX advisories

All ONNX
DateAdvisory
Mar 31onnx Vulnerable to Path Traversal via Symlink
CVE-2026-27489Highfixed in 1.21.0
Apr 1ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.
CVE-2026-34445High8.6fixed in 1.21.0
Apr 1ONNX: Arbitrary File Read via ExternalData Hardlink Bypass in ONNX load
CVE-2026-34446Medium4.7fixed in 1.21.0
Apr 1ONNX: External Data Symlink Traversal
CVE-2026-34447Medium5.5fixed in 1.21.0
Apr 1ONNX: TOCTOU arbitrary file read/write in save_external_dat
CVE-2026-49114High7.1fixed in 1.21.0
Jul 7ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)
CVE-2026-44512Medium5.5fixed in 1.22.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.