Vulnerability · Published Jul 22, 2025 · Assigned by mitre

CVE-2025-51480

High 8.8

In plain English

A high-severity path traversal in the onnx package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.7%top 47.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIonnx1.16.2GHSA-6rq9-53c3-f7vj
PyPIonnxno fix listedPYSEC-2025-148
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2025-51480
Ubuntu:25.10onnxno fix listedUBUNTU-CVE-2025-51480
Ubuntu:26.04:LTSonnxno fix listedUBUNTU-CVE-2025-51480
Ubuntu:26.10onnxno fix listedUBUNTU-CVE-2025-51480

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References