In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's
Affects onnxSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 1.21.0 soon.
Data as of 29 Nov 2026, 18:37 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.21.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade onnx to 1.21.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10onnxpkg:deb/ubuntu/onnx?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
PyPIonnxpkg:pypi/onnxOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade ONNX to version 1.21.0 or later, where this vulnerability is fixed. Until then, restrict write permissions on directories used for external data serialization to trusted users only. Avoid running ONNX serialization in directories writable by untrusted users. Patch status is confirmed fixed in ONNX 1.21.0.
Description
A vulnerability in ONNX versions prior to 1.21.0 allows a local attacker with write access to a directory to exploit a race condition in the 'save_external_data' function. This function constructs the external data file path from the model's external_data location field and opens it without secure flags after a non-atomic check, enabling symlink attacks. An attacker can cause the victim process to append data to arbitrary files such as ~/.ssh/authorized_keys or cron files. The issue is fixed in ONNX version 1.21.0.