CVE-2026-134293

published 21 Nov 2026 · updated 23 Nov 2026

SurrealDB 3.1.0 before 4.0.0 SQL Injection via MCP Tool Identifier Escaped Backticks

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.0.

SurrealDB 3.1.0 before 4.0.0 contains an SQL injection vulnerability in its Model Context Protocol (MCP) server because the identifier validator (consume_backtick_ident and validate_identifier) treats the first backtick as the closing delimiter, ignoring escape characters that the SurrealQL parser honors. Attackers can supply MCP tool arguments containing an escaped backtick to break out of the quoted identifier and execute arbitrary SurrealQL statements.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb>=3.1.0 <4.0.04.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134293 severity on Zeptric[![CVE-2026-134293](https://zeptric.io/badge/cve/CVE-2026-134293.svg)](https://zeptric.io/cve/CVE-2026-134293)