CVE-2026-49114Linuxfoundation Onnx
Medium 6.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Onnx We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 21, 2026
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Onnx.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onnx |
< 1.21.0 |
1.21.0 |
pip install "onnx>=1.21.0" |
| PyPI | onnx |
< 1.21.0 |
1.21.0 |
pip install "onnx>=1.21.0" |
Per OSV / GitHub Advisories (GHSA-q56x-g2fj-4rj6, PYSEC-2026-3876). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | onnx | < 1.21.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- raw.githubusercontent.com VDB Entry
- www.cve.org Third Party Advisory VDB Entry