Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-49114

MEDIUM 6.8PoCEPSS 3%

ONNX symlink-following and path-traversal arbitrary file write

Also known as GHSA-q56x-g2fj-4rj6, PYSEC-2026-3876

Mitigation

  • Upgrade onnx to 1.21.0 or later.

Who should check

  • Projects that depend on PyPI package onnx (< 1.21.0)
  • Anyone running ONNX < 1.21.0

Vulnerability facts

Affected
onnx < 1.21.0
Fixed in
1.21.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
CWE
CWE-367, CWE-22, CWE-59
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI onnx< 1.21.01.21.0osv
ONNX< 1.21.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-49114. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49114.md
Affected: onnx < 1.21.0
Fixed in: 1.21.0

Steps:
1. Search this machine and project for onnx (PyPI), ONNX: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-49114 being exploited?

There is no confirmed exploitation: CVE-2026-49114 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-49114?

Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-49114?

onnx < 1.21.0.

Is there a fix for CVE-2026-49114?

Yes. Fixed in 1.21.0. Upgrade onnx to 1.21.0 or later.

How do I check if I'm affected by CVE-2026-49114?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors