ONNXGHSA-h36j-8vv3-cj52
Open Neural Network Exchange (ONNX) Path Traversal Vulnerability
Fix: upgrade to 1.17.0 or later
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
| Package | Affected | Fixed in |
|---|---|---|
| onnx PyPI | < 1.17.0 | 1.17.0 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-22
- Also known as
- CVE-2024-7776, PYSEC-2025-10