ONNX CVE-2026-28500
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious model + manifest in attacker repo
-
DeliveryGet pipeline to call hub.load(repo, silent=True)
-
ExploitTrust warning suppressed, self-validating SHA256 passes
-
ExecutionMalicious model downloaded and loaded
-
PersistCode executes / chained file-system read
-
ImpactExfiltrate SSH keys and cloud credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires that the target application (or a third-party dependency it trusts) call onnx.hub.load() with silent=True and supply a repo reference that the attacker controls or can influence; silent=True is the exact feature whose presence bypasses the trust warning and input() confirmation. It further requires that loading the attacker's model yields a security impact (code execution or, as described, chaining with a file-system vulnerability to exfiltrate files), since model loading alone is the delivery mechanism. Limiting factors: silent=True is not the default and is a deliberate developer choice; the attacker cannot remotely force a victim to point at their repo, so a malicious/compromised dependency or developer misconfiguration is the realistic entry point; affected versions are onnx <= 1.20.1 on the pip-installed package. |
| Impact | Signals conflict sharply and must be weighed rather than taken at face value. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N = 9.1) reads as a trivially remote, unauthenticated, high-impact bug, but the description makes clear that exploitation is conditional: the victim application must explicitly opt into silent=True AND point hub.load() at an attacker-controlled repo string, which is non-default and not something a remote attacker controls directly - so real-world complexity is higher than AC:L implies. EPSS is only 0.01% (1st percentile), there is no CISA KEV listing, and no public exploit was identified, all consistent with low likelihood of opportunistic mass exploitation. This is a genuine supply-chain integrity weakness worth patching, but it is closer to a configuration/dependency-trust hardening fix than an urgent internet-facing RCE; prioritize it for ML/CI pipelines that call hub.load() with external repos, and deprioritize elsewhere. Note the impact vector lists A:N despite the description implying arbitrary code execution on model load - if code execution is truly achievable, availability/impact could be understated; verify against the vendor advisory. |
| Exploit ScenarioDerived | An attacker publishes a malicious ONNX model plus a matching manifest in a GitHub repo they control, then gets a victim's ML pipeline to reference that repo - for example via a compromised or typosquatted helper library that calls onnx.hub.load(repo, silent=True). When the pipeline runs, the model is downloaded and loaded with no warning and a self-validating hash, and chained with a model-load code-execution or file-system primitive it silently exfiltrates SSH keys and cloud credentials. No working public exploit was identified at time of analysis, though a technical write-up exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Silent supply-chain compromise in the ONNX Python package (pip/onnx <= 1.20.1) arises because passing silent=True to onnx.hub.load() suppresses every untrusted-repository warning and confirmation prompt, letting models download and execute from any attacker-controlled GitHub repo with zero user awareness. Because the SHA256 manifest lives in the same attacker-owned repo, the integrity check is self-defeating and always validates the malicious model. There is no public exploit identified at time of analysis and EPSS is very low (0.01%), but the issue is fixed in 1.21.0rc1 and carries a vendor CVSS of 9.1.
Earlier versions of this analysis (4)
Insufficient authenticity verification in the ONNX Python package's onnx.hub.load() function lets a developer-supplied silent=True parameter completely suppress the trust prompt that normally warns when a model is pulled from a non-official GitHub repository, so models from attacker-controlled repos are downloaded and processed with no confirmation. Because the attacker also controls the manifest used for the SHA256 integrity check, the bogus model passes validation, turning a routine model-loading call into a zero-interaction supply-chain vector. CVSS is 9.1 (C:H/I:H) but EPSS is only 0.01% (1st percentile); no public exploit code is identified and the issue is not in CISA KEV.
Information disclosure and untrusted-model execution in the ONNX Python library (onnx pip package) stems from a trust-verification bypass in onnx.hub.load(): passing silent=True short-circuits the repository trust check and confirmation prompt, so models from any attacker-controlled GitHub repository are downloaded and loaded without warning. Because the attacker also controls the manifest that supplies the SHA256 hash, the integrity check provides no protection. NVD scores this 9.1 (Critical), but EPSS is only 0.01% and there is no public exploit identified at time of analysis, with no CISA KEV listing.
Silent supply-chain compromise in the ONNX Python package (onnx <= 1.20.1) allows attackers to bypass repository trust verification in onnx.hub.load() when callers pass silent=True. Because the trust gate uses short-circuit logic (not _verify_repo_ref(repo) and not silent), the silent flag suppresses the warning, the confirmation prompt, AND effectively neuters the SHA256 integrity check (the manifest lives in the attacker-controlled repo), so a malicious model from any GitHub repository is fetched and loaded without user awareness. No public exploit identified at time of analysis; EPSS is very low (0.01%), and this is not in CISA KEV.
A security control bypass vulnerability in the ONNX machine learning framework allows attackers to silently load malicious models from untrusted repositories when the silent=True parameter is used, completely suppressing security warnings and user confirmation prompts. The vulnerability affects the onnx Python package and enables zero-interaction supply chain attacks where attackers can exfiltrate sensitive files like SSH keys and cloud credentials from victim machines. With a CVSS score of 8.6 and public proof-of-concept details available, this represents a critical risk for applications using ONNX's hub.load() function.
RemediationAI
Vendor-released patch: upgrade onnx to 1.21.0rc1 or later, where the maintainers resolved the issue by removing the trust-suppression feature entirely (per GHSA-hqmj-h5c6-369m). On Red Hat systems, apply RHSA-2026:24977. Until you can upgrade, the most effective compensating control is to audit your codebase and any third-party libraries for calls to onnx.hub.load() and remove the silent=True argument so the trust warning and confirmation prompt are restored - the trade-off is that automated/non-interactive pipelines will block on the input() prompt and must be reworked to pin trusted repos. Additionally, only load models from the official onnx model zoo or repos you control (pass explicit, verified repo references rather than user/third-party-supplied strings), and run model-loading workloads in a sandboxed, least-privilege environment with no access to SSH keys or cloud credentials to blunt the exfiltration chain described in the advisory. Advisory URLs: https://github.com/onnx/onnx/security/advisories/GHSA-hqmj-h5c6-369m and the write-up at https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-28500.md.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ONNX (Open Neural Network Exchange) is a widely used open standard and Python library for representing and exchanging machine-learning models; onnx.hub.load() is a convenience helper that fetches pretrained models from remote GitHub repositories using a manifest. The flaw lives in onnx/hub.py, where the trust gate is written as if not _verify_repo_ref(repo) and not silent: - a short-circuit that prioritizes the caller's silent preference over the trust requirement, so the warning and the interactive input() confirmation are skipped entirely when silent=True. This maps to CWE-345 (Insufficient Verification of Data Authenticity): the SHA256 integrity check only compares the model against a manifest stored in the same repository, so an attacker controlling the repo controls both the model and its 'valid' hash, defeating authenticity verification. Affected package per CPE is pkg:pip/onnx.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
AC:H because exploitation needs the non-default silent=True plus an attacker-controlled repo reference; PR:N/UI:N as no victim auth or prompt occurs once silent is set; C:H/I:H for credential exfiltration and malicious model integrity, A:N per described impact.
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionNVD
Summary
A security control bypass exists in onnx.hub.load() due to improper logic in the repository trust verification mechanism. While the function is designed to warn users when loading models from non-official sources, the use of the silent=True parameter completely suppresses all security warnings and confirmation prompts.
The Technical Flaw
The vulnerability is located in onnx/hub.py. The security gate uses a short-circuit evaluation that prioritizes the "silent" preference over the trust requirement:
if not _verify_repo_ref(repo) and not silent:
# This block (Warning + User Input) is SKIPPED if silent=True
print("The model repo... is not trusted")
if input().lower() != "y":
return NoneKey Points of Failure: Complete Suppression: If a developer or a third-party library sets silent=True, the application will download and execute models from any attacker-controlled GitHub repository without notifying the user. Integrity Verification Bypass: The SHA256 integrity check validates the model against a manifest file. Since the attacker controls the repository, they also control the manifest, allowing them to provide a "valid" hash for a malicious model.
Impact
This vulnerability transforms a standard model-loading function into a vector for Zero-Interaction Supply-Chain Attacks. When chained with file-system vulnerabilities , an attacker can silently exfiltrate sensitive files ( SSH keys, cloud credentials) from the victim's machine the moment the model is loaded.
Executive ViewAI
ONNX Python package versions 1.20.1 and earlier contain a critical supply-chain vulnerability that silently downloads and executes arbitrary model files from attacker-controlled repositories when the silent=True parameter is used in onnx.hub.load(). Organizations using ONNX for machine learning model loading face direct risk of arbitrary code execution through compromised model downloads, with no user awareness or integrity validation.
Apply vendor patch. Interim mitigations pending upgrade: (1) Remove or set silent=False in all onnx.hub.load() calls; (2) Restrict model loading to explicit allowlisted GitHub repositories; (3) Implement file integrity monitoring on downloaded model files; (4) Review network logs for unexpected external repository access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-hqmj-h5c6-369m
NVD
CVE.org
EPSS
VulDB
Exploit-DB