A AegiFlow
MEDIUMCVSS 7.1EPSS 0.1%

CVE-2026-49114

CVE-2026-49114 updated by NVD

Published
2026-04-01
Modified
2026-10-17
EPSS percentile
1%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PyPIonnx—1.21.0

Remediation: Upgrade to 1.21.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.