Skip to main content
CVE-2026-49114VulnerabilityPublished Updated

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

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 1.21.0 soon.

Data as of 29 Nov 2026, 18:37 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 22.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=jammyOther threatsAffected
  • 1.7.0+dfsg-3build1 – 1.7.0+dfsg-3ubuntu2
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 1.13.1-3 – 1.14.1-2.1ubuntu0.1~esm1
7 affected builds
Fixed in–
Ubuntu 26.10onnxpkg:deb/ubuntu/onnx?arch=source&distro=stonkingOther threatsAffected
  • =1.20.0-1
  • =1.20.0-6
Fixed in–
Ubuntu 26.04 LTSonnxpkg:deb/ubuntu/onnx?arch=source&distro=resoluteOther threatsAffected
  • =1.17.0-3build1
  • =1.20.0-1
Fixed in–
PyPIonnxpkg:pypi/onnxOther threatsAffected
  • 1.21.0rc1 – 1.21.0rc4
  • <1.21.0
4 affected builds
Fixed in
  • 1.21.0

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.

References

Community reviews

Loading reviews…