AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

ONNXGHSA-h36j-8vv3-cj52

Open Neural Network Exchange (ONNX) Path Traversal Vulnerability

ONNX

CVE-2024-7776 · Published Mar 20, 2025 · updated Mar 27, 2025

High8.1
Fix: upgrade to 1.17.0 or later
GitHub advisory

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 versions

PackageAffectedFixed in
onnx
PyPI
< 1.17.01.17.0
Details and references

More ONNX advisories

All ONNX