SurrealDB: flaw lets attackers read or change the database (SQL injection)
CVE-2026-134293 · published 22 Nov 2026
CVE-2026-134293 is a serious security flaw in SurrealDB, rated 8.2 out of 10.
The official description: 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.
We have no report of attacks yet. Plan the update now, before attackers start.
How to check if you are affected, and how to fix it
The full analysis (affected versions, step-by-step check, fix, what to do if you cannot update yet, and signs of an attack) is free in your SegfaultSec dashboard. You also get an alert when a new vulnerability matches the software on your website.
Read the full analysisSources