mistral.rs tool call injection via quoted text delimiters
EricLBuehler mistral.rs
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| EricLBuehler mistral.rs |
| No fix yet |
Original 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.
From the CVE record · VulnCheck