Skip to main content

ONNX CVE-2026-28500

CRITICAL
Insufficient Verification of Data Authenticity (CWE-345)
2026-03-16 https://github.com/onnx/onnx GHSA-hqmj-h5c6-369m
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious model + manifest in attacker repo
  2. Delivery
    Get pipeline to call hub.load(repo, silent=True)
  3. Exploit
    Trust warning suppressed, self-validating SHA256 passes
  4. Execution
    Malicious model downloaded and loaded
  5. Persist
    Code executes / chained file-system read
  6. Impact
    Exfiltrate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – 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)
v4 Jun 30, 2026 - 03:56 cvss changed CVSS 9.1

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.

v3 Jun 30, 2026 - 03:55 cvss changed CVSS 9.1

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.

v2 Jun 30, 2026 - 03:54 cvss changed CVSS 9.1

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.

v1 Mar 16, 2026 - 17:20 CVSS 8.6

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

pypi onnx fix: 1.21.0rc1

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

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Red Hat 8.6 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

8
Analysis Updated
Jun 30, 2026 - 03:59 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 03:56 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 03:55 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 03:54 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:24 NVD
HIGH CRITICAL
CVSS changed
Jun 30, 2026 - 03:24 NVD
8.6 (HIGH) 9.1 (CRITICAL)
Patch released
Apr 07, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 16, 2026 - 16:23 nvd
HIGH 8.6

DescriptionNVD

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:

Python
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 None

Key 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 99% exploitable
Prevalence
Medium
widely used ML model library, but the hub.load feature is niche
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:pip/onnx

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy