CVE-2025-51480 Path traversal in n/a

High 8.8 Published Updated

Attackers can overwrite arbitrary files by supplying crafted external data paths in the ONNX library, bypassing directory restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-51480?

CVE-2025-51480 is a high-severity path traversal vulnerability in n/a, published on 22 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-22

Which versions are affected by CVE-2025-51480?

It affects 1 product.

Products include Linuxfoundation Onnx.

How do I fix CVE-2025-51480?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-51480 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51480 exists.

Sources

Also known as AZL-65658, AZL-65661, GHSA-wj32-g77g-8289, UBUNTU-CVE-2025-51480.

Is CVE-2025-51480 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free