{"data":{"id":"e4ade73a-d44b-417e-b2bb-dfeca6d9adec","title":"CVE-2026-49114: In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's…","summary":"In ONNX before 1.21.0, the save_external_data function opens the external-data file path for writing without O_NOFOLLOW or 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 pre-plant a symlink that gets followed, so the victim's write appends to any file the victim can write, such as ~/.ssh/authorized_keys, cron files, or application configs.","solution":"Fixed in 1.21.0.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49114","publishedAt":"2026-08-21T16:17:17.863Z","cveId":"CVE-2026-49114","cweIds":["CWE-22","CWE-59","CWE-367"],"cvssScore":"7.1","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["onnx@<= 1.20.1 (fixed: 1.21.0)"],"affectedPackageNames":["onnx"],"affectedPackageRefs":["pypi:onnx"],"affectedVendors":[],"affectedVendorsRaw":["ONNX"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"ONNX symlink following in save_external_data allows arbitrary file writes","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","attackVector":"local","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00159,"epssCheckedAt":"2026-11-21T12:09:32.020Z","kevDateAdded":null,"advisoryAliases":["GHSA-q56x-g2fj-4rj6"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:45:03.228Z","patchAvailable":true,"disclosureDate":"2026-08-21T16:17:17.863Z","fixReleasedAt":"2026-03-27T21:32:15.530Z","daysToFix":-147,"fixCheckedAt":"2026-10-29T21:31:32.396Z","capecIds":["CAPEC-126","CAPEC-27"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"onnx","fixedVersion":"1.21.0","matchedVersion":"1.21.0","fixReleasedAt":"2026-03-27T21:32:15.530Z","daysToFix":-147,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:31:32.247Z"}]}}