{"schemaVersion":3,"id":"CVE-2026-49114","aliases":["GHSA-q56x-g2fj-4rj6","PYSEC-2026-3876","UBUNTU-CVE-2026-49114","DEBIAN-CVE-2026-49114","CGA-2xcm-r224-jcch","CGA-925p-g8mg-mmfp","CGA-hpp2-pvvc-92qw","CGA-m4q8-p32r-qcgj","CGA-p9xx-2pmc-w4f5","CGA-v3c9-gmmr-jf26","CGA-w525-3pvh-8vm5","CGA-xf5h-pmcx-mqvm"],"status":"published","duplicateOf":null,"title":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.","dates":{"published":"2026-08-21T16:10:56.241Z","modified":"2026-08-21T16:43:10.933Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00159,"percentile":0.04645,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00159},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00107,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00107,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00107,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00159,"percentile":0.04645}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00159,"percentile":0.04645}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ONNX_ONNX","name":"Onnx","source":"github","url":"https://github.com/onnx/onnx/issues/8036","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"chainguard","product":"py3.10-onnx","name":"py3.10-onnx","label":"py3.10-onnx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-onnx","purlType":"apk","versions":[{"text":"< 1.21.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.11-onnx","name":"py3.11-onnx","label":"py3.11-onnx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.11-onnx","purlType":"apk","versions":[{"text":"< 1.21.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-onnx","name":"py3.12-onnx","label":"py3.12-onnx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-onnx","purlType":"apk","versions":[{"text":"< 1.21.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-onnx","name":"py3.13-onnx","label":"py3.13-onnx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-onnx","purlType":"apk","versions":[{"text":"< 1.21.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"onnx","name":"onnx","label":"onnx","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/onnx","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"onnx","name":"onnx","label":"onnx","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/onnx","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"onnx","name":"onnx","label":"onnx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0","eol":null,"hubHref":"/vendor/linuxfoundation/onnx"},{"vendor":"onnx","product":"onnx","name":"onnx","label":"onnx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0","eol":null,"hubHref":"/vendor/onnx/onnx"},{"vendor":"PyPI","product":"onnx","name":"onnx","label":"onnx","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/onnx","purlType":"pypi","versions":[{"text":"< 1.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.21.0","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6","label":"github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6","hostname":"github.com","tags":["Vendor Advisory","Exploit","WEB","REPORT"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-233-01.json","label":"raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-233-01.json","hostname":"raw.githubusercontent.com","tags":["Third Party Advisory","WEB","VDB Entry"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49114","label":"www.cve.org/CVERecord?id=CVE-2026-49114","hostname":"www.cve.org","tags":["VDB Entry","REPORT","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49114","label":"nvd.nist.gov/vuln/detail/CVE-2026-49114","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/onnx/onnx","label":"github.com/onnx/onnx","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/onnx","label":"pypi.org/project/onnx","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-q56x-g2fj-4rj6","label":"github.com/advisories/GHSA-q56x-g2fj-4rj6","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-49114","label":"ubuntu.com/security/CVE-2026-49114","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-49114","label":"security-tracker.debian.org/tracker/CVE-2026-49114","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":["GHSA-486P-G8X4-77MG"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-21T16:10:56.241Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-21T16:43:10.933Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:38:27.085Z","stale":false,"partial":false}}