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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55832— Tract: Arbitrary file read via unsanitized ONNX external_data `location` (path traversal) on model load in tract-onnx

Quick assessment

Affected
sonos tract
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Tract 是一个小巧、务实且自包含的 TensorFlow 和 ONNX 推理工具包。在 0.21.17、0.22.3 和 0.23.2 之前,tract-onnx 代码库通过 中的 函数,将 ONNX 模型中由攻击者控制的 位置参数直接传入,并将该值与模型目录进行拼接,但未拒绝绝对路径或包含父目录组件(如 )的路径。因此,通过 加载不可信的模型时, 中的 可能会打开任意本地文件,并将该文件的内容放入模型的张量或推理输出中。攻击者控制的 (偏移量)和 (长度)字段还可以选择超出范围的内存映射切片,从而导致拒绝服务

CVSS 6.1 · Medium

Affected Version Matrix 3

VendorProduct Version RangeStatus
sonos tract < 0.21.17 affected
>= 0.22.0, < 0.22.3 affected
>= 0.23.0, < 0.23.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55832

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
Tract: Arbitrary file read via unsanitized ONNX external_data `location` (path traversal) on model load in tract-onnx
Source: CVE Program / CVE List V5
Vulnerability Description
Tract is a tiny, no-nonsense, self-contained TensorFlow and ONNX inference toolkit. Prior to 0.21.17, 0.22.3, and 0.23.2, the tract-onnx crate passes the attacker-controlled external_data location from an ONNX model through onnx/src/tensor.rs get_external_resources and joins the value to the model directory without rejecting absolute paths or parent directory components. Loading an untrusted model through model_for_path can therefore make onnx/src/data_resolver.rs MmapDataResolver open an arbitrary local file and place the file contents into model tensors or inference output. Attacker-controlled offset and length fields can also select an out-of-range mapping slice and cause a denial of service, but the flaw does not write files or execute code. This issue is fixed in versions 0.21.17, 0.22.3, and 0.23.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sonos tract < 0.21.17 -

II. Public POCs for CVE-2026-55832

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55832

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55832 (3)

Vendor Advisories for CVE-2026-55832 (1)

Vendor Pages for CVE-2026-55832 (2)

Other References for CVE-2026-55832 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55832

No comments yet


Leave a comment