{
  "id": "CVE-2026-49114",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49114",
  "published_at": "2026-08-21T16:10:56.241Z",
  "title": "ONNX symlink-following and path-traversal arbitrary file write",
  "vendor": "ONNX",
  "product": "ONNX",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's external_data location field and opens it for writing without 'O_NOFOLLOW/O_EXCL', after a non-atomic 'os.path.isfile()' check. A local attacker with write access to the directory where a victim serializes external data can deterministically pre-plant a symlink that is being followed, causing the victim's write to append to any file the victim can write, e.g. ~/.ssh/authorized_keys, cron files, or application configs. Fixed in 1.21.0.",
  "cwe": "CWE-367",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ONNX",
        "product": "ONNX",
        "ranges": [
          "\u003c 1.21.0"
        ],
        "fixed_in": [
          "1.21.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ONNX to 1.21.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6",
      "source": "cvelist",
      "title": "url",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
