{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55832","id":"CVE-2026-55832","title":"Tract: Arbitrary file read via unsanitized ONNX external_data `location` (path traversal) on model load in tract-onnx","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","descriptionLong":"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.","published":"2026-09-14T17:57:41.374Z","updated":"2026-10-28T02:30:28.200197314Z","reserved":"2026-06-17T16:29:38.864Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["sonos tract"],"affectedProducts":[{"vendor":"sonos","product":"tract","defaultStatus":null,"versions":[{"version":"< 0.21.17","status":"affected"},{"version":">= 0.22.0, < 0.22.3","status":"affected"},{"version":">= 0.23.0, < 0.23.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"tract-onnx","purl":"pkg:cargo/tract-onnx","ranges":["<0.21.17",">=0.22.0 <0.22.3",">=0.23.0 <0.23.2"],"fixed":["0.21.17","0.22.3","0.23.2"],"advisory":"GHSA-h668-6x6g-f8r5"}],"cwes":["CWE-22"],"aliases":["GHSA-h668-6x6g-f8r5"],"references":[{"url":"https://github.com/sonos/tract/security/advisories/GHSA-h668-6x6g-f8r5","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/sonos/tract/commit/5f994bcf3cec9b343830a975fedce177f9190d0f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/sonos/tract/commit/85f4fac23e43d417782e8ed9f9465be8474f5c98","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/sonos/tract/commit/8fdacbd7abe4e6f929cadfe52e7f69e2227c0632","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/sonos/tract/releases/tag/0.21.17","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sonos/tract/releases/tag/0.22.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/sonos/tract/releases/tag/v0.23.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55832.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55832","tags":["advisory"]},{"url":"https://github.com/sonos/tract","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00194,"epssPercentile":0.09169,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55832","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55832","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55832","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h668-6x6g-f8r5","ok":true,"note":"GHSA-h668-6x6g-f8r5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55832","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}