MCP 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. 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). The…
Inspect the ClaimsCase · 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
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.
Evidence basis: CLM-DB07-025-OUTCOME · CLM-DB07-025-MECHANISM · Advisory: MCP Inspector untrusted tool outputSchema regex freezes UI with exponential validation cost
At a glance
Bound regex complexity and validation time away from the interface thread, with a reject/skip policy for untrusted schemas.
Read the implicationsNeeds malicious tool invocation, affects UI availability, no RCE or exfil shown.
Limits and uncertaintyFull account
MCP 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.
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). The demonstrated effect is client availability degradation, not data theft.
An MCP server can define a tool output schema, including a regular expression supplied in outputSchema.pattern. In the reported flaw, Inspector passed that schema into AJV and validated near-matching structured content synchronously on the UI thread. Catastrophic backtracking then made the interface unresponsive as input length increased; this is a denial-of-service mechanism rather than an exfiltration primitive. The advisory reports fixes in 2.14.0 and the older 1.0.4 branch. Length limits alone are not always enough when expression complexity is uncontrolled. Validation should be time-bounded or run away from the UI with clear rejection behavior for hostile schemas.
The input is an MCP server's schema, not a user typing a long search query. A hostile pattern combined with near-matching structured output forces synchronous validation on the browser's main thread, so a protocol feature becomes a user-interface denial-of-service route. Other Inspector advisories deal with executable import arguments and iframe tool authority; those have different impacts. Safe schema handling requires time or complexity bounds, including an explicit fallback when an untrusted pattern cannot be evaluated safely.
Mechanism and trust boundary
- 01
An untrusted MCP server advertises a tool outputSchema containing a regular expression with catastrophic backtracking.
- 02
Inspector validates supplied structured tool output against that regex on its main interface thread.
- 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
- supportsAdvisory: MCP Inspector untrusted tool outputSchema regex freezes UI with exponential validation costprimary disclosure
GHSA-2fw8-7jmw-r937; pattern validation timings
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
- supportsAdvisory: MCP Inspector untrusted tool outputSchema regex freezes UI with exponential validation costprimary disclosure
GHSA-2fw8-7jmw-r937; pattern validation timings
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
- Nov 7, 2026 · Published version · first publication · revision 227