CVE-2026-49114CWE-22CWE-367CWE-59path-traversal

CVE-2026-49114

High · published August 21, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
4.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS v4.0
6.8 · 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
EPSS
0.00159 · 4.7th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-08-21T20:17Z
Affected products (1)
ProductVersionsFixed in
linuxfoundation/onnx< 1.21.01.21.0
References (3)
EPSS history
Timeline
  • 21 AUG 16:10Z
    ONNX symlink-following and path-traversal arbitrary file write
    cvelistv5