{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49114","id":"CVE-2026-49114","title":"ONNX symlink-following and path-traversal arbitrary file write","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, causi","descriptionLong":"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.","published":"2026-08-21T16:10:56.241Z","updated":"2026-10-28T02:31:04.008705981Z","reserved":"2026-05-27T16:19:04.848Z","status":"Analyzed","rejected":false,"assigner":"cisa-cg","metric":{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"cisa-cg"},"metrics":[{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"cisa-cg"},{"version":"4.0","score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"9119a7d8-5eab-497f-8521-727c672e3725"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"cisa-cg"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"9119a7d8-5eab-497f-8521-727c672e3725"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"}],"rating":"medium","products":["ONNX"],"affectedProducts":[{"vendor":"ONNX","product":"ONNX","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.21.0","versionType":"custom"},{"version":"1.21.0","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"onnx","purl":"pkg:pypi/onnx","ranges":["<1.21.0"],"fixed":["1.21.0"],"advisory":"GHSA-q56x-g2fj-4rj6"}],"cwes":["CWE-367","CWE-22","CWE-59"],"aliases":["GHSA-q56x-g2fj-4rj6","PYSEC-2026-3876"],"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6","tags":["vendor-advisory","exploit","Exploit","Vendor Advisory","evidence","web"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-233-01.json","tags":["third-party-advisory","VDB Entry","advisory","web"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49114","tags":["vdb-entry","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49114.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49114","tags":["advisory"]},{"url":"https://github.com/onnx/onnx","tags":["package"]},{"url":"https://pypi.org/project/onnx","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q56x-g2fj-4rj6","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05172,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49114","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49114","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49114","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q56x-g2fj-4rj6","ok":true,"note":"GHSA-q56x-g2fj-4rj6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49114","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}