Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
ONNX ONNX
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 ONNX 1.21.0 之前的版本中, 函数会从模型的 位置字段构建外部数据文件路径,并在经过非原子性的 检查后,以不加 标志的方式打开该路径进行写入。具有对该目录写入权限的本地攻击者可以预先在受害者序列化外部数据的位置植入一个符号链接,从而使得受害者的写入操作被重定向到攻击者可写入的任何文件(例如 、cron 任务文件或应用程序配置文件)。该问题已在 ONNX 1.21.0 版本中修复。

CVSS 7.1 · High EPSS 0.11% · P1

Affected Version Matrix 2

VendorProduct Version RangeStatus
ONNX ONNX < 1.21.0 affected
1.21.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49114

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ONNX symlink-following and path-traversal arbitrary file write
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ONNX ONNX 0 ~ 1.21.0 -

II. Public POCs for CVE-2026-49114

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8681 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-49114

登录查看更多情报信息。

Vendor Advisories for CVE-2026-49114 (2)

Other References for CVE-2026-49114 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49114

No comments yet


Leave a comment