
Cloud Vulnerability DB
A community-led vulnerabilities database
After a user calls a tool on a malicious MCP server, the server can return a result that triggers catastrophic backtracking in its advertised outputSchema.pattern. Inspector validates that result synchronously on the UI path, so the app can become unresponsive.
Inspector treats a remote server’s outputSchema as trusted validator input. After a tool call it runs the server’s schema (including any pattern) against the server’s structuredContent on the main thread with no complexity limit or timeout. Key locations (v2, reviewed revision 0cac110a809e93753fa353810b9b4c91e89810fc): core/mcp/inspectorClient.ts (~4214-4219, 4313-4318): calls validateToolOutput after receiving the result and constructs an AjvJsonSchemaValidator. core/mcp/toolOutputValidation.ts (~41-43): compiles and executes the validator synchronously: const validate = provider.getValidator(tool.outputSchema as JsonSchemaType); const validation = validate(structured); return validation.valid ? undefined : validation.errorMessage; A classic ReDoS pattern such as ^(a+)+$ combined with a near-match string of as produces exponential slowdown. Bounded local tests with AJV 8.20.0 showed clear nonlinear growth (tens to hundreds of ms at ~20–26 characters; longer inputs become practical stalls).
~5–46 ms at 20 as ~289–300 ms at 26 as Exponential trend continues with longer inputs, stalling the synchronous validation path.
A connected malicious MCP server can make the Inspector unresponsive while processing the tool result. The user must initiate the connection and the tool call. No established information disclosure, integrity violation, or remote code execution. A validator timeout or worker isolation would mitigate it.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."