CVE-2025-51480
highpriority · track · 0EPSS 0.007 · 52 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-6rq9-53c3-f7vjonnx allows Arbitrary File Overwrite in download_model_with_test_data2024-06-06ghsa · osvUS
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, versions before 1.16.2, allow for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability enables attackers to overwrite any file on the system, potentially leading to remote code execution, deletion of system, personal, or application files, thus impacting the integrity and availability of the system. The issue arises from the function's handling of tar file extraction without performing security checks on the paths within the tar file, as demonstrated by the ability to overwrite the `/home/kali/.ssh/authorized_keys` file by specifying an absolute path in the malicious tar file.
- CVE-2024-5187Arbitrary File Overwrite in download_model_with_test_data in onnx/onnx2024-06-06vendor · osvUS
A vulnerability in the `download_model_with_test_data` function of the onnx/onnx framework, version 1.16.0, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability enables attackers to overwrite any file on the system, potentially leading to remote code execution, deletion of system, personal, or application files, thus impacting the integrity and availability of the system. The issue arises from the function's handling of tar file extraction without performing security checks on the paths within the tar file, as demonstrated by the ability to overwrite the `/home/kali/.ssh/authorized_keys` file by specifying an absolute path in the malicious tar file.
- PYSEC-2025-1482025-07-22vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-6rq9-53c3-f7vjcnnvd
- https://github.com/onnx/onnxcnnvd
- https://github.com/onnx/onnx/pull/6959cnnvd
- https://github.com/onnx/onnx/pull/7040cnnvd
- https://github.com/onnx/onnx/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-51480cnnvd
- https://www.gecko.security/blog/cve-2025-51480cnnvd
- https://github.com/advisories/GHSA-6rq9-53c3-f7vjenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan