ONNX symlink-following and path-traversal arbitrary file write
view advisory published 2026-08-21
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-49114US | — | — | ||
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_NOFOLL… | ||||
02
references
External citations — patches, advisories, analysis.
03
remediations (1)
- Fixedonnx
Fixed in 1.21.0.
https://github.com/onnx/onnx/security/advisories/GHSA-q56x-g2fj-4rj6
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan