{"id":"UBUNTU-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.","modified":"2026-05-26T20:00:38.349372119Z","published":"2025-07-22T16:15:00Z","upstream":["CVE-2025-51480"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-51480"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-51480"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-6rq9-53c3-f7vj"},{"type":"REPORT","url":"https://github.com/onnx/onnx"},{"type":"REPORT","url":"https://github.com/onnx/onnx/pull/6959"},{"type":"REPORT","url":"https://github.com/onnx/onnx/pull/7040"},{"type":"REPORT","url":"https://www.gecko.security/blog/cve-2025-51480"}],"affected":[{"package":{"name":"onnx","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0+dfsg-3build1","1.7.0+dfsg-3build2","1.7.0+dfsg-3ubuntu1","1.7.0+dfsg-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_name":"libonnx1","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_name":"libonnxifi","binary_version":"1.7.0+dfsg-3ubuntu2"},{"binary_version":"1.7.0+dfsg-3ubuntu2","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51480.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.1-3","1.13.1-3build1","1.14.1-2","1.14.1-2.1","1.14.1-2.1build1","1.14.1-2.1build2","1.14.1-2.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.14.1-2.1ubuntu0.1~esm1"},{"binary_version":"1.14.1-2.1ubuntu0.1~esm1","binary_name":"libonnx1t64"},{"binary_version":"1.14.1-2.1ubuntu0.1~esm1","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51480.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libonnx-testdata","binary_version":"1.17.0-3build1"},{"binary_name":"libonnx1t64","binary_version":"1.17.0-3build1"},{"binary_name":"python3-onnx","binary_version":"1.17.0-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51480.json"}},{"package":{"name":"onnx","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/onnx?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0-3build1","1.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.20.0-1","binary_name":"libonnx-testdata"},{"binary_version":"1.20.0-1","binary_name":"libonnx1t64"},{"binary_version":"1.20.0-1","binary_name":"python3-onnx"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51480.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}