Case · DiggingBeagle record

MCP Inspector validated hostile tool regex schemas on the UI thread

MCP Inspector validated an MCP server-provided outputSchema.pattern with AJV synchronously in the UI thread. GHSA-2fw8-7jmw-r937 reports rapidly increasing validation time for longer strings and a fix in 2.14.0 (and 1.0.4 on the older branch).

Public disclosure: Nov 4, 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 untrusted MCP server advertises a tool outputSchema containing a regular expression with catastrophic backtracking. 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 untrusted MCP server advertises a tool outputSchema containing a regular expression with catastrophic backtracking.

  2. 02

    Inspector validates supplied structured tool output against that regex on its main interface thread.

  3. 03

    A near-matching input triggers disproportionate regex evaluation and stalls the UI until validation ends or is interrupted.

Claims & evidence

CLM-DB07-025-OUTCOMEGHSA-2fw8-7jmw-r937 reports rapidly increasing validation time for longer strings and a fix in 2.14.0 (and 1.0.4 on the older branch). The demonstrated effect is client availability degradation, not data theft.supported

Basis: reported finding

Link to claim
CLM-DB07-025-MECHANISMMCP Inspector validated an MCP server-provided outputSchema.pattern with AJV synchronously in the UI thread. A server could supply a catastrophic-backtracking regular expression and matching-looking structured content.supported

Basis: reported finding

Link to claim

Implications

Bound regex complexity and validation time away from the interface thread, with a reject/skip policy for untrusted schemas.

Unknowns and contradictions

  • Needs malicious tool invocation, affects UI availability, no RCE or exfil shown.

Sources and citation

Material revision history

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