CVE-2026-55832 Details
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.
A path traversal vulnerability has been identified in the Tract ONNX inference toolkit, specifically in versions prior to 0.21.17, 0.22.3, and 0.23.2. The issue arises because the tract-onnx crate improperly handles the external_data 'location' from ONNX models. It passes this attacker-controlled value to the model directory without validating it, allowing for absolute paths or directory traversal sequences to be exploited. As a result, loading an untrusted ONNX model can lead to arbitrary file reads, with the file contents being injected into model tensors or the inference output. Additionally, the vulnerability can be exploited to cause a denial-of-service by manipulating offset and length fields to select out-of-range memory mappings, although this does not involve file writing or code execution.
Users can update to Tract versions 0.21.17, 0.22.3, or 0.23.2, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 14, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sonos/tract/security/advisories/GHSA-h668-6x6g-f8r5 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/sonos/tract/commit/5f994bcf3cec9b343830a975fedce177f9190d0f | [email protected] | Source CodeVendor |
| https://github.com/sonos/tract/commit/85f4fac23e43d417782e8ed9f9465be8474f5c98 | [email protected] | Source CodeVendor |
| https://github.com/sonos/tract/commit/8fdacbd7abe4e6f929cadfe52e7f69e2227c0632 | [email protected] | Source CodeVendor |
| https://github.com/sonos/tract/releases/tag/0.21.17 | [email protected] | Release NotesVendor |
| https://github.com/sonos/tract/releases/tag/0.22.3 | [email protected] | Release NotesVendor |
| https://github.com/sonos/tract/releases/tag/v0.23.2 | [email protected] | Release NotesVendor |
| https://github.com/sonos/tract/security/advisories/GHSA-h668-6x6g-f8r5 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sonos tract | < 0.21.17 (semver) >= 0.22.0, < 0.22.3 (semver) >= 0.23.0, < 0.23.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 14, 2026 | New CVE Received | [email protected] |
Volerion