Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-7776Arbitrary File Overwrite in onnx/onnx

High 8.1

In plain English

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

Severity (CVSS 3.0)8.1High
Exploit odds (30 days)1.5%top 25.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability in the `download_model` function of the onnx/onnx framework, before and including version 1.16.1, allows for arbitrary file overwrite due to inadequate prevention of path traversal attacks in malicious tar files. This vulnerability can be exploited by an attacker to overwrite files in the user's directory, potentially leading to remote command execution.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onnxno fix listedDEBIAN-CVE-2024-7776
Debian:13onnx1.16.2-1DEBIAN-CVE-2024-7776
Debian:14onnx1.16.2-1DEBIAN-CVE-2024-7776
PyPIonnx1.17.0GHSA-h36j-8vv3-cj52
PyPIonnx1.16.2PYSEC-2025-10
Ubuntu:22.04:LTSonnxno fix listedUBUNTU-CVE-2024-7776

Affected products (as reported)

VendorProductVersions
onnx onnx/onnx unspecified – through latest

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

References