Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
|
| Impact | The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) indicates local attack vector requiring user interaction, low attack complexity, and high confidentiality impact with no integrity or availability impact. The medium CVSS score of 5.5 reflects this profile accurately. Exploitation requires a user to load a malicious ONNX model file, making this primarily a risk in scenarios where untrusted models are loaded from external sources or via supply chain compromise. The information disclosure nature is significant for environments handling sensitive data (healthcare, finance, security-related ML deployments). No EPSS score or KEV status provided, and no public exploit code is confirmed available at the time of analysis, suggesting this is a latent risk requiring actual malicious model distribution to realize. Risk is elevated for organizations accepting pre-trained models from untrusted sources but low for closed environments with model governance. |
| Exploit ScenarioDerived | An attacker distributes a malicious ONNX model file through a public model repository or supply chain channel. When a data scientist or ML engineer downloads and loads this model for inference testing or integration, the model contains symlinks in its external data references pointing to sensitive files on the system (e.g., /etc/passwd, configuration files with API keys, or model intellectual property). The attacker's symlinks are traversed during model loading, allowing the attacker to read the contents of those files, potentially exfiltrating secrets or sensitive configuration data. The attack succeeds because the user explicitly loaded the model (satisfying the UI:R requirement), and typical development environments grant broad filesystem access to ML processes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
ONNX versions prior to 1.21.0 allow local attackers to read arbitrary files outside the model directory through symlink traversal during external data loading, requiring user interaction to load a malicious model file. The vulnerability has a CVSS score of 5.5 (medium severity) and is classified as information disclosure with confirmed patch availability in version 1.21.0.
RemediationAI
Vendor-released patch: ONNX version 1.21.0 and later. Update ONNX packages immediately to version 1.21.0 or newer through your package manager (pip install --upgrade onnx, or equivalent for your deployment method). For organizations unable to immediately patch, restrict external model loading to models from trusted sources only, validate model file integrity using cryptographic signatures before loading, and avoid loading ONNX models from user-uploaded sources or untrusted repositories. Additional mitigation includes running model inference in sandboxed environments with restricted filesystem access. Full details available in the GitHub security advisory at https://github.com/onnx/onnx/security/advisories/GHSA-p433-9wv8-28xj.
Affected VersionsENISA
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 machine learning model interchange format that supports external data storage. The vulnerability exists in the external data loading mechanism, which follows symlinks without proper validation (CWE-61: Improper Restriction of Rendered UI Layers or Frames). When processing ONNX model files, the implementation fails to restrict symlink traversal, allowing an attacker to craft a malicious model containing symlinks pointing to sensitive files outside the intended model directory. This affects local file access on systems where ONNX models are loaded, typically in machine learning frameworks and inference engines that consume ONNX format models.
Know when Onnx 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:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is a symlink traversal vulnerability in external data loading allows reading files outside the model directory. This issue has been patched in version 1.21.0.
Blast Radius
ecosystem impact- 20 pypi packages depend on onnx (14 direct, 6 indirect)
Ecosystem-wide dependent count for version 1.21.0.
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.
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for a
Symlink-following arbitrary file write in ONNX's save_external_data function (onnx/external_data_helper.py) allows a loc
Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONN
Arbitrary attribute injection in ONNX Python library (versions prior to 1.21.0) allows unauthenticated remote attackers
Versions of the package onnx before and including 1.15.0 are vulnerable to Directory Traversal as the external_data fiel
Out-of-bounds read in ONNX ConvTranspose shape inference (convTransposeShapeInference and convTransposeShapeInference_op
Out-of-bounds read in ONNX's legacy shape-inference path allows an attacker-supplied model to crash a process that calls
Memory exhaustion denial of service in ONNX prior to 1.22.0: the Python tensor-materialization helpers _unpack_2bit() an
Shape inference in the ONNX library (versions 1.4.0 through 1.21.0) mishandles the required Scan attribute num_scan_inpu
Cross-site scripting in ONNX ONNXMLTools 1.16.0 and earlier allows attacker-influenced model metadata to execute script
Out-of-bounds read in ONNX versions up to 1.21.x exposes limited memory contents to low-privileged remote attackers via
ONNX versions prior to 1.21.0 allow local attackers to read arbitrary files by exploiting a hardlink-based path traversa
EUVD-2026-17989
GHSA-p433-9wv8-28xj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB