{"schemaVersion":3,"id":"CVE-2024-7776","aliases":["GHSA-h36j-8vv3-cj52","PYSEC-2025-10","UBUNTU-CVE-2024-7776","DEBIAN-CVE-2024-7776"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-03-20T10:10:58.740Z","modified":"2025-03-20T15:52:00.491Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01532,"percentile":0.74408,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.03899999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01493},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01532,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01532,"percentile":0.74408}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01493,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01519,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01532,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01532,"percentile":0.74408}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_AC09E5BB84A4F76A","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"onnx","name":"onnx","label":"onnx","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/onnx","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.16.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.16.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"onnx","name":"onnx","label":"onnx","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/onnx","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"onnx","product":"onnx","name":"onnx","label":"onnx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.16.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.16.1","eol":null,"hubHref":"/vendor/onnx/onnx"},{"vendor":"onnx","product":"onnx/onnx","name":"onnx/onnx","label":"onnx/onnx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/onnx/onnxonnx"},{"vendor":"PyPI","product":"onnx","name":"onnx","label":"onnx","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/onnx","purlType":"pypi","versions":[{"text":"< 1.17.0","noFixRecorded":false,"fixedIn":null},{"text":"< 1.16.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17.0 | < 1.16.2","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63","label":"huntr.com/bounties/a7a46cf6-1fa0-454b-988c-62d222e83f63","hostname":"huntr.com","tags":["WEB","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7776","label":"nvd.nist.gov/vuln/detail/CVE-2024-7776","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/onnx/onnx/pull/6222","label":"github.com/onnx/onnx/pull/6222","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f","label":"github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://github.com/onnx/onnx","label":"github.com/onnx/onnx","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2025-10.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2025-10.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-h36j-8vv3-cj52","label":"github.com/advisories/GHSA-h36j-8vv3-cj52","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-7776","label":"ubuntu.com/security/CVE-2024-7776","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7776","label":"www.cve.org/CVERecord?id=CVE-2024-7776","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://huntr.com/bounties/a7a46cf6-1fa-454b-988c-62d222e83f63","label":"huntr.com/bounties/a7a46cf6-1fa-454b-988c-62d222e83f63","hostname":"huntr.com","tags":["REPORT"]},{"url":"https://github.com/onnx/onnx/issues/6215","label":"github.com/onnx/onnx/issues/6215","hostname":"github.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-7776","label":"security-tracker.debian.org/tracker/CVE-2024-7776","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:58.740Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T15:52:00.491Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:58:00.696Z","stale":false,"partial":false}}