NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-7776: Open Neural Network Exchange (ONNX) Path Traversal Vulnerability

highCVSS 3.0 8.1GHSA-h36j-8vv3-cj52

A vulnerability in the downloadmodel 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.

Published Mar 20, 2025 · Updated Mar 27, 2025

Affected packages

onnx

Ecosystem
PyPI
Affected
< 1.17.0
Fixed in
1.17.0
Check
pip show onnx

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries