CVE-2026-28500
JSON

8.6high

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

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hqmj-h5c6-369mPYSEC-2026-103

Description

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. In versions up to and including 1.20.1, 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. 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. As of time of publication, no known patched versions are available.

Affected

Product or packageVersionsReported by
onnx onnx<= 1.20.1CVE List
rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9Not specified
Not affected: from 1780078312 before *
CVE List
rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9Not specified
Not affected: from 1780078429 before *
CVE List
rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Not specified
Not affected: from 1780069222 before *
CVE List
rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9Not specified
Not affected: from 1780078632 before *
CVE List
rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Not specified
Not affected: from 1780078416 before *
CVE List
rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Not specified
Not affected: from 1780417775 before *
CVE List
rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Not specified
Not affected: from 1780078388 before *
CVE List
rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Not specified
Not affected: from 1780069146 before *
CVE List
rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Not specified
Not affected: from 1780078413 before *
CVE List
rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Not specified
Not affected: from 1780069226 before *
CVE List
rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Not specified
Not affected: from 1780078629 before *
CVE List

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
redhat-SADP8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
PyPA Advisory Database9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-345CWE-494CWE-693CWE-829

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. In versions up to and including 1.20.1, 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. 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. As of time of publication, no known patched versions are available.

GitHub Advisory Database

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.

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

NVD (es)

Open Neural Network Exchange (ONNX) es un estándar abierto para la interoperabilidad de aprendizaje automático. En versiones hasta la 1.20.1 inclusive, existe un bypass de control de seguridad en onnx.hub.load() debido a una lógica incorrecta en el mecanismo de verificación de confianza del repositorio. Aunque la función está diseñada para advertir a los usuarios al cargar modelos de fuentes no oficiales, el uso del parámetro silent=True suprime completamente todas las advertencias de seguridad y las solicitudes de confirmación. Esta vulnerabilidad transforma una función estándar de carga de modelos en un vector para ataques de cadena de suministro de interacción cero. Cuando se encadena con vulnerabilidades del sistema de archivos, un atacante puede exfiltrar silenciosamente archivos sensibles (claves SSH, credenciales de la nube) de la máquina de la víctima en el momento en que se carga el modelo. Al momento de la publicación, no hay versiones parcheadas conocidas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-28500 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-hqmj-h5c6-369m changed 2026-09-10CC-BY-4.0
NVDCVE-2026-28500 changed 2026-07-15Public domain
PyPA Advisory DatabasePYSEC-2026-103 changed 2026-05-20CC-BY-4.0