Path Traversal in Onnx

CVE-2024-7776

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.015 (73.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-7776: held from 0.015 to 0.015.

EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-7776?
CVE-2024-7776 is a critical-severity vulnerability in Onnx, classified under Path Traversal. CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-7776?
Critical severity. CVSS v3 base score is 9.1 out of 10.