CVEfocus › CVE database › CVE-2026-49114

CVE-2026-49114ONNX symlink-following and path-traversal arbitrary file write

CVSS 7.1 HighEPSS 0.2% (higher than 3% of CVEs)Published 2026-08-21Updated 2026-08-21Assigner: cisa-cg

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.

CWE-22CWE-367CWE-59

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
1Under investigation
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10onnxFix pendingUBUNTU-CVE-2026-49114
Ubuntu 26.04onnxNot affected
vulnerable_code_not_present
Ubuntu 24.04onnxFix pendingUBUNTU-CVE-2026-49114
Ubuntu 22.04onnxUnder investigationUBUNTU-CVE-2026-49114
Debian 14onnxFix pendingDEBIAN-CVE-2026-49114
Debian 13onnxFix pendingDEBIAN-CVE-2026-49114
Debian 12onnxFix pendingDEBIAN-CVE-2026-49114
PyPI libraryonnxFixed1.21.0PYSEC-2026-3876

What the vendor says

As published in the CVE record by cisa-cg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.