CVE-2024-7776Onnx
Critical 9.1 No auth needed
Follow: this CVE · Onnx · Onnx We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Onnx.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onnx |
< 1.17.0 |
1.17.0 |
pip install "onnx>=1.17.0" |
| PyPI | onnx |
< 1.16.2 |
1.16.2 |
pip install "onnx>=1.16.2" |
Per OSV / GitHub Advisories (GHSA-h36j-8vv3-cj52, PYSEC-2025-10). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| onnx | onnx | ≤ 1.16.1 |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit Third Party Advisory