HighVulnerability
CVE-2026-49114: ONNX symlink following in save_external_data allows arbitrary file writes
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-49114
- Published
- Record updated
- Affected
- onnx <= 1.20.1
- Fixed in
- 1.21.0
- released March 27, 2026, 147 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
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.
Mitigation
Fixed in 1.21.0.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- onnxPyPINo LLM dependency detected · 18 tracked dependents
Related items
- MediumCVE-2026-124248: GPTranslate WordPress plugin stored cross-site scripting via comment parameterSimilar attack · NVD/CVE Database
- MediumAmazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-DaySimilar attack · SecurityWeek
- MediumAttackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root AccessSimilar attack · The Hacker News
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database
- MediumCVE-2026-54046: LibreChat unauthenticated account enumeration via /api/user/verifySimilar attack · NVD/CVE Database