Description
mistral.rs before 0.9.5 contains a delimiter injection vulnerability in mistralrs-core that allows attackers to inject tool calls by placing delimiter strings in text the model quotes. Attackers controlling documents, web pages or tool outputs can embed tags like </tool_call> to make qwen-xml, gemma4 or reasoning parsers return extra calls to declared tools with attacker-chosen arguments.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
EricLBuehler mistral.rs
Default version status: unaffected
0 to < 0.9.5affected
References
- https://github.com/EricLBuehler/mistral.rs/commit/b43d3443e946752c0f662c2df42a2974410c9532 ↗
- https://github.com/EricLBuehler/mistral.rs ↗
- https://github.com/EricLBuehler/mistral.rs/security/advisories/GHSA-34w8-j94f-8c5w ↗
- https://github.com/EricLBuehler/mistral.rs/pull/2455 ↗
- https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.9.5 ↗
- https://www.vulncheck.com/advisories/mistral-rs-before-0.9.5-tool-call-injection-via-mistralrs-core-output-parsers ↗