CVE-2026-49114

MEDIUM CVSS 4.0: 6.8 EPSS 0.16%
Updated Oct 15, 2026
Linuxfoundation
Parameter Value
CVSS 6.8 (MEDIUM)
Affected Versions before 1.21.0
Fixed In 1.21.0
Type CWE-367 (Time-of-check Time-of-use (TOCTOU)), CWE-59 (Improper Link Resolution), CWE-22 (Path Traversal)
Vendor Linuxfoundation
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Linuxfoundation Onnx
cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*
— 1.21.0