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-55832

MEDIUM 6.1EPSS 5%

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

Also known as GHSA-h668-6x6g-f8r5

Mitigation

  • Upgrade tract-onnx to one of 0.21.17, 0.22.3, 0.23.2 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package tract-onnx (< 0.21.17)
  • Anyone running sonos tract < 0.21.17; >= 0.22.0, < 0.22.3; >= 0.23.0, < 0.23.2

Vulnerability facts

Affected
tract-onnx < 0.21.17
Fixed in
0.21.17, 0.22.3, 0.23.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: Low
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-22
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io tract-onnx< 0.21.170.21.17, 0.22.3, 0.23.2osv
sonos tract< 0.21.17; >= 0.22.0, < 0.22.3; >= 0.23.0, < 0.23.2—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-55832. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55832.md
Affected: tract-onnx < 0.21.17
Fixed in: 0.21.17, 0.22.3, 0.23.2

Steps:
1. Search this machine and project for tract-onnx (crates.io), sonos tract: 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-55832 being exploited?

There is no confirmed exploitation: CVE-2026-55832 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-55832?

Medium: CVSS 6.1 (v3.1, 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-55832?

tract-onnx < 0.21.17.

Is there a fix for CVE-2026-55832?

Yes. Fixed in 0.21.17, 0.22.3, 0.23.2. Upgrade tract-onnx to one of 0.21.17, 0.22.3, 0.23.2 (or later in the same release line).

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

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