CVE-2026-49114

Source
https://cve.org/CVERecord?id=CVE-2026-49114
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49114.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-49114
Aliases
Downstream
Published
2026-08-21T16:10:56.241Z
Modified
2026-08-23T03:53:39.798435206Z
Severity
  • 6.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ONNX symlink-following and path-traversal arbitrary file write
Details

In ONNX before 1.21.0, the 'saveexternaldata' function builds the external-data file path from the model's externaldata location field and opens it for writing without 'ONOFOLLOW/OEXCL', 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/authorizedkeys, cron files, or application configs. Fixed in 1.21.0.

Database specific
{
    "cwe_ids": [
        "CWE-22",
        "CWE-367",
        "CWE-59"
    ],
    "cna_assigner": "cisa-cg",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49114.json"
}
References

Affected packages

Git / github.com/onnx/onnx

Affected ranges

Type
GIT
Repo
https://github.com/onnx/onnx
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.21.0"
        }
    ]
}

Affected versions

v0.*
v0.1
v0.2
v1.*
v1.1.0
v1.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49114.json"