{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-51480","id":"CVE-2025-51480","title":"onnx allows Arbitrary File Overwrite in download_model_with_test_data","description":"Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended directory restrictions.","descriptionLong":"Path Traversal vulnerability in onnx.external_data_helper.save_external_data in ONNX 1.17.0 allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths containing traversal sequences, bypassing intended directory restrictions.","published":"2025-07-22T00:00:00.000Z","updated":"2026-10-28T02:30:50.903289374Z","reserved":"2025-06-16T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"onnx","purl":"pkg:pypi/onnx","ranges":["<1.16.2","<=1.17.0"],"fixed":["1.16.2"],"advisory":"GHSA-6rq9-53c3-f7vj"}],"cwes":["CWE-22"],"aliases":["CVE-2024-5187","GHSA-6rq9-53c3-f7vj","PYSEC-2025-148"],"references":[{"url":"https://github.com/onnx/onnx","tags":["Product","package"]},{"url":"https://github.com/onnx/onnx/pull/6959","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/advisories/GHSA-6rq9-53c3-f7vj","tags":["Not Applicable","advisory"]},{"url":"https://github.com/onnx/onnx/pull/7040","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://www.gecko.security/blog/cve-2025-51480","tags":["Exploit","Third Party Advisory","article","web","evidence"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51480.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51480","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5187","tags":["advisory"]},{"url":"https://github.com/onnx/onnx/issues/6215","tags":["web"]},{"url":"https://github.com/onnx/onnx/pull/6145","tags":["web"]},{"url":"https://github.com/onnx/onnx/pull/6222","tags":["web"]},{"url":"https://github.com/onnx/onnx/commit/1b70f9b673259360b6a2339c4bd97db9ea6e552f","tags":["web"]},{"url":"https://github.com/onnx/onnx/commit/3fc3845edb048df559aa2a839e39e95503a0ee34","tags":["web"]},{"url":"https://github.com/onnx/onnx/releases/tag/v1.16.2","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2025-148.yaml","tags":["web"]},{"url":"https://huntr.com/bounties/50235ebd-3410-4ada-b064-1a648e11237e","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.0068,"epssPercentile":0.532,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-51480","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51480","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-51480","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6rq9-53c3-f7vj","ok":true,"note":"GHSA-6rq9-53c3-f7vj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-51480","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}