Case · DiggingBeagle record

Mistral.rs tool parser turned quoted XML delimiters into tool invocations

An attacker-controlled document included XML-style tool-call delimiters that a model quoted as data. GHSA-34w8-j94f-8c5w documents tool-call parsing confusion; it does not grant arbitrary shell execution unless the target tool is already available.

Public disclosure: Oct 18, 2026

Scope

Reported security vulnerability; exploitation prerequisites and tested version scope matter. No real-world exploitation is established unless separately reported.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade C
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

research demonstration; demonstrated. The cited primary disclosure supports the specific sequence and boundaries described here: An attacker places tool-call-like XML delimiters in a lower-trust document or retrieved text. The evidence does not independently establish consequences beyond the record's supported outcome; a numerical impact band cannot be justified from the available evidence. Evidence grade C reflects the source attribution and independent verification limits.

Assessed Nov 7, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    An attacker places tool-call-like XML delimiters in a lower-trust document or retrieved text.

  2. 02

    A model quotes or incorporates that text in an answer that is then parsed for tool-call structure.

  3. 03

    The mistral.rs parser promotes untrusted quoted delimiters into an extra invocation of a tool already available to the assistant.

Claims & evidence

CLM-DB07-029-OUTCOMEGHSA-34w8-j94f-8c5w documents tool-call parsing confusion; it does not grant arbitrary shell execution unless the target tool is already available. Advisory version boundaries differ between reports; 0.9.5 is the conservative fixed target.supported

Basis: reported finding

Link to claim
CLM-DB07-029-MECHANISMAn attacker-controlled document included XML-style tool-call delimiters that a model quoted as data. The Mistral.rs tool parser subsequently treated those bytes as structural commands and could emit another declared tool invocation.supported

Basis: reported finding

Link to claim

Implications

Keep generated natural-language content separate from parsed tool-call protocol tokens, and reject synthetic delimiters in untrusted quoted data.

Unknowns and contradictions

  • Tool must already be declared, no automatic arbitrary shell execution. Ambiguous 0.9.3-0.9.4 range; no active abuse.

Sources and citation

Material revision history

  1. Nov 7, 2026 · Published version · first publication · revision 227