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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sat, 21 Nov 2026 16:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | SurrealDB 3.1.0 before 4.0.0 SQL Injection via MCP Tool Identifier Escaped Backticks | |
| First Time appeared |
Surrealdb
Surrealdb surrealdb |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Surrealdb
Surrealdb surrealdb |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-21T16:35:12.512Z
Reserved: 2026-11-20T23:48:46.196Z
Link: CVE-2026-134293
No data.
Status : Deferred
Published: 2026-11-21T17:16:49.057
Modified: 2026-11-21T17:16:49.180
Link: CVE-2026-134293
No data.
OpenCVE Enrichment
No data.
Weaknesses