CVE-2026-49114

published 21 Aug 2026 · updated 16 Nov 2026

ONNX symlink-following and path-traversal arbitrary file write

8.1HighCVSS 7.1EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.21.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ONNX<1.21.01.21.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-49114 severity on Zeptric[![CVE-2026-49114](https://zeptric.io/badge/cve/CVE-2026-49114.svg)](https://zeptric.io/cve/CVE-2026-49114)