CVE-2025-51480 Details
Description
Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended directory restrictions.
A path traversal vulnerability has been identified in the ONNX library, specifically in version 1.17.0. The issue arises in the 'save_external_data' function, where the lack of proper validation on user-controlled paths in the 'external_data' field allows attackers to craft malicious tensor data. By using traversal sequences, they can escape intended directory restrictions and overwrite arbitrary files on the system.
Users can update to ONNX version 1.18.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advisories/GHSA-6rq9-53c3-f7vj | [email protected] | Not Applicable |
| https://github.com/onnx/onnx | [email protected] | Product |
| https://github.com/onnx/onnx/pull/6959 | [email protected] | ExploitIssue TrackingPatchVendor Advisory |
| https://github.com/onnx/onnx/pull/7040 | [email protected] | ExploitIssue TrackingPatchVendor Advisory |
| https://www.gecko.security/blog/cve-2025-51480 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation onnx | 1.17.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2025 | Initial Analysis | [email protected] |
| Jul 22, 2025 | CVE Modified | CISA-ADP |
| Jul 22, 2025 | New CVE Received | [email protected] |