# CVE-2024-7776: Arbitrary File Overwrite in onnx/onnx

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-03-20 · Modified: 2025-03-20
- Aliases: GHSA-h36j-8vv3-cj52, PYSEC-2025-10, UBUNTU-CVE-2024-7776, DEBIAN-CVE-2024-7776
- Record: https://cvemate.com/vulnerability/CVE-2024-7776 · JSON: https://cvemate.com/vulnerability/CVE-2024-7776/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 1.532%, percentile 75.66%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian onnx (Debian): All versions (No fix recorded) \| \< 1.16.2-1
- ubuntu onnx (Ubuntu): All versions (No fix recorded)
- onnx onnx: ≤ 1.16.1
- onnx onnx/onnx: ≥ unspecified, ≤ latest
- PyPI onnx (PyPI): \< 1.17.0 \| \< 1.16.2

## References

- <https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7776>
- <https://github.com/onnx/onnx/pull/6222>
- <https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f>
- <https://github.com/onnx/onnx>
- <https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2025-10.yaml>
- <https://github.com/advisories/GHSA-h36j-8vv3-cj52>
- <https://ubuntu.com/security/CVE-2024-7776>
- <https://www.cve.org/CVERecord?id=CVE-2024-7776>
- <https://huntr.com/bounties/a7a46cf6-1fa-454b-988c-62d222e83f63>
- <https://github.com/onnx/onnx/issues/6215>
- <https://security-tracker.debian.org/tracker/CVE-2024-7776>

---

Data as of 2026-12-05T09:13:48.653Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
