Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-51480

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-5187, CVE-2025-51480
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:48 UTC · Revision 1

Source evidence

CVE-2025-51480

core-osv · Original source

Published 22 Jul 2025, 00:00 UTC

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.

osv:CVE-2025-51480
Complete source record
{
  "id": "b495c57df18c49b76874362de2625ae1e5ee322a8d4d5e60968e14f970717974",
  "url": "https://osv.dev/vulnerability/CVE-2025-51480",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-51480",
    "summary": "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.",
    "evidence": "osv:CVE-2025-51480",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-51480",
      "aliases": [
        "CVE-2024-5187",
        "CVE-2025-51480",
        "GHSA-6rq9-53c3-f7vj",
        "PYSEC-2025-148"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/onnx/onnx",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b8baa8446686496da4cc8fda09f2b6fe65c2a02c"
                },
                {
                  "last_affected": "b8baa8446686496da4cc8fda09f2b6fe65c2a02c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:onnx:1.17.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.17.0"
                      },
                      {
                        "last_affected": "1.17.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.17.0",
            "v1.17.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51480.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.903289374Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51480.json",
        "https://github.com/advisories/GHSA-6rq9-53c3-f7vj",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-51480",
        "https://github.com/onnx/onnx/pull/6959",
        "https://github.com/onnx/onnx/pull/7040",
        "https://github.com/onnx/onnx",
        "https://www.gecko.security/blog/cve-2025-51480"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51480.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-5187",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2025-51480",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519183,
  "published_at": "2025-07-22T00:00:00+00:00"
}