{"id":"CVE-2025-51480","details":"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.","aliases":["CVE-2024-5187","GHSA-6rq9-53c3-f7vj","PYSEC-2025-148"],"modified":"2026-08-12T03:51:43.969349883Z","published":"2025-07-22T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51480.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51480.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6rq9-53c3-f7vj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51480"},{"type":"FIX","url":"https://github.com/onnx/onnx/pull/6959"},{"type":"FIX","url":"https://github.com/onnx/onnx/pull/7040"},{"type":"PACKAGE","url":"https://github.com/onnx/onnx"},{"type":"ARTICLE","url":"https://www.gecko.security/blog/cve-2025-51480"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/onnx/onnx","events":[{"introduced":"b8baa8446686496da4cc8fda09f2b6fe65c2a02c"},{"last_affected":"b8baa8446686496da4cc8fda09f2b6fe65c2a02c"}],"database_specific":{"extracted_events":[{"introduced":"1.17.0"},{"last_affected":"1.17.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:linuxfoundation:onnx:1.17.0:*:*:*:*:*:*:*"}}],"versions":["1.17.0","v1.17.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51480.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}