
CVE catalog
CVE-2026-49114
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
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | onnx | sid | 1.20.0-6 | vulnerable |
| Debian | onnx | forky | 1.20.0-6 | vulnerable |
| Debian | onnx | trixie | 1.17.0-3 | vulnerable |
| Debian | onnx | bookworm | 1.12.0-2 | vulnerable |
| Pip | onnx | Not reported | 1.21.0 | fixed |
| Cpe | onnx | Not reported | 1.21.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | onnx | source | sid | (unfixed) | not yet assigned | Not reported | [1145196] |
| Debian | onnx | source | forky | (unfixed) | not yet assigned | Not reported | [1145196] |
| Debian | onnx | source | trixie | (unfixed) | not yet assigned | Not reported | [1145196] |
| Debian | onnx | source | bookworm | (unfixed) | not yet assigned | Not reported | [1145196] |
| Pip | onnx | pip | Not reported | 1.21.0 | Not reported | GHSA-Q56X-G2FJ-4RJ6 | Not reported |
| Cpe | onnx | cpe | Not reported | 1.21.0 | Not reported | NVD-CVE-2026-49114 | Not reported |
Notes
[trixie] onnx: Minor issue [bookworm] onnx: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libonnx1]Affected
Source package: [onnx]
Details (2)
1.12.0-2+b4· amd64 · bookwormAffected
nvd · onnx · debian · bookworm
1.12.0-2+b4· arm64 · bookwormAffected
nvd · onnx · debian · bookworm
- [libonnx-dev]Affected
Source package: [onnx]
Details (2)
1.12.0-2+b4· amd64 · bookwormAffected
nvd · onnx · debian · bookworm
1.12.0-2+b4· arm64 · bookwormAffected
nvd · onnx · debian · bookworm
- [libonnxifi]Affected
Source package: [onnx]
Details (2)
1.12.0-2+b4· amd64 · bookwormAffected
nvd · onnx · debian · bookworm
1.12.0-2+b4· arm64 · bookwormAffected
nvd · onnx · debian · bookworm
- [libonnx-testdata]Affected
Source package: [onnx]
Details (2)
1.12.0-2· all · bookwormAffected
nvd · onnx · debian · bookworm
1.12.0-2· all · bookwormAffected
nvd · onnx · debian · bookworm
- [python3-onnx]Affected
Source package: [onnx]
Details (2)
1.12.0-2+b4· amd64 · bookwormAffected
nvd · onnx · debian · bookworm
1.12.0-2+b4· arm64 · bookwormAffected
nvd · onnx · debian · bookworm
Observed:
References
- [https://github.com/advisories/GHSA-q56x-g2fj-4rj6]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-49114]
- [https://osv.dev/vulnerability/CVE-2026-49114]
- [https://security-tracker.debian.org/tracker/CVE-2026-49114]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49114.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]