Skip to content
HighVulnerability

CVE-2026-134293: SurrealDB SQL injection in MCP server via backtick identifier validation

Identifier
CVE-2026-134293
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

SurrealDB versions 3.1.0 before 4.0.0 contain an SQL injection flaw in their Model Context Protocol (MCP) server. The identifier validator (consume_backtick_ident and validate_identifier) treats the first backtick as the closing delimiter and ignores escape characters that the SurrealQL parser honors. An attacker can supply MCP tool arguments with an escaped backtick to break out of the quoted identifier and execute arbitrary SurrealQL statements.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.