CVE-2026-124028

mistral.rs before 0.9.5 Tool Call Injection via mistralrs-core Output Parsers

Published Nov 6, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

mistral.rs contains a delimiter injection flaw in the mistralrs-core output parsers that permits an attacker to inject tool call tags such as </tool_call> into text that the model quotes. By doing so the model will generate additional calls to declared tools with arguments that the attacker specifies. This ability can lead to the execution of unintended or malicious tool operations within the host environment.

Affected Systems

The vulnerability affects the mistral.rs framework provided by EricLBuehler. All releases prior to version 0.9.5 are vulnerable; versions 0.9.5 and later incorporate a fix that removes the ability to parse injected delimiters.

Risk and Exploitability

The CVSS score of 2.3 indicates a low severity under the standard metric set. No EPSS score is available and the vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog. The likely attack vector is the injection of delimiter strings through any content that the model processes—such as documents, web page text, or tool outputs. This requires that the attacker can control that content, but does not necessitate additional privileges or network connectivity. Consequently, the risk is limited to environments that process untrusted input without proper sanitization.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest release of mistral.rs (v0.9.5 or newer) to eliminate the delimiter injection flaw.
  • Sanitise any text that the model will quote, removing or escaping sequences like </tool_call> before they reach the output parser.
  • If upgrading is not immediately possible, disable the vulnerable qwen-xml, gemma4, or reasoning parsers, or reconfigure them so that delimiter handling is turned off.

Generated by OpenCVE AI on November 6, 2026 at 20:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ericlbuehler
Ericlbuehler mistral.rs
Vendors & Products Ericlbuehler
Ericlbuehler mistral.rs
Type Values Removed Values Added
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.
Title mistral.rs before 0.9.5 Tool Call Injection via mistralrs-core Output Parsers
Weaknesses CWE-140
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-140

    Improper Neutralization of Delimiters

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 1:16 PM
Reserved
Nov 6, 2026, 6:51 PM
Status
Deferred
Published
Nov 6, 2026, 8:17 PM
Modified
Nov 9, 2026, 2:17 PM