{"answers":{"affected":"6 open source packages ship an affected version, including tract-onnx.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55832 exists.","fix":"Upgrade tract-onnx to a fixed version for your release line: 0.21.17, 0.22.3 or 0.23.2.","what":"CVE-2026-55832 is a medium-severity path traversal vulnerability in sonos tract, published on 14 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-55832 and fix it if it is affected.\n\nWhat it is: CVE-2026-55832 is a medium-severity path traversal vulnerability in sonos tract, published on 14 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55832 exists.\n\nAffected packages and fixed versions:\n- tract-onnx (crates.io): affected all versions; fixed in 0.21.17\n- tract-onnx (crates.io): affected all versions; fixed in 0.21.17\n- tract-onnx (crates.io): affected from 0.22.0; fixed in 0.22.3\n- tract-onnx (crates.io): affected from 0.22.0; fixed in 0.22.3\n- tract-onnx (crates.io): affected from 0.23.0; fixed in 0.23.2\n- tract-onnx (crates.io): affected from 0.23.0; fixed in 0.23.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55832/ (Markdown: https://insights.sbomify.com/CVE-2026-55832/index.md)","id":"CVE-2026-55832","markdown":"https://insights.sbomify.com/CVE-2026-55832/index.md","name":"CVE-2026-55832","record":{"aliases":["GHSA-h668-6x6g-f8r5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust ONNX inference library","requires_auth":"none","summary":"Attackers can read arbitrary local files or cause denial of service by loading a malicious ONNX model with crafted external data locations in tract-onnx.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Tract: Arbitrary file read via unsanitized ONNX external_data `location` (path traversal) on model load in tract-onnx","id":"CVE-2026-55832","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":7,"next":{"headline":"Netty SPDY zlib header block continues decoded expansion after maxHeaderSize truncation","id":"CVE-2026-55833"},"packages":[{"ecosystem":"crates.io","fixed":["0.21.17"],"introduced":["0"],"last_affected":[],"package":"tract-onnx","purl":null,"source":"GHSA-h668-6x6g-f8r5"},{"ecosystem":"crates.io","fixed":["0.21.17"],"introduced":["0"],"last_affected":[],"package":"tract-onnx","purl":"pkg:cargo/tract-onnx","source":"GHSA-h668-6x6g-f8r5"},{"ecosystem":"crates.io","fixed":["0.22.3"],"introduced":["0.22.0"],"last_affected":[],"package":"tract-onnx","purl":null,"source":"GHSA-h668-6x6g-f8r5"},{"ecosystem":"crates.io","fixed":["0.22.3"],"introduced":["0.22.0"],"last_affected":[],"package":"tract-onnx","purl":"pkg:cargo/tract-onnx","source":"GHSA-h668-6x6g-f8r5"},{"ecosystem":"crates.io","fixed":["0.23.2"],"introduced":["0.23.0"],"last_affected":[],"package":"tract-onnx","purl":null,"source":"GHSA-h668-6x6g-f8r5"},{"ecosystem":"crates.io","fixed":["0.23.2"],"introduced":["0.23.0"],"last_affected":[],"package":"tract-onnx","purl":"pkg:cargo/tract-onnx","source":"GHSA-h668-6x6g-f8r5"}],"prev":{"headline":"Netty SPDY SETTINGS frame count materializes unbounded settings map","id":"CVE-2026-55831"},"products":["tract"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["sonos"]},"summary":"Attackers can read arbitrary local files or cause denial of service by loading a malicious ONNX model with crafted external data locations in tract-onnx.","url":"https://insights.sbomify.com/CVE-2026-55832/"}