CVE-2026-134293 Details
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.
A SQL injection vulnerability has been identified in SurrealDB versions 3.1.0 prior to 4.0.0. The issue arises in the Model Context Protocol (MCP) server, where the identifier validation process incorrectly interprets the first backtick as the closing delimiter. This flaw allows attackers to exploit MCP tool arguments by inserting an escaped backtick, disrupting the quoted identifier and enabling the execution of arbitrary SurrealQL statements.
Users can upgrade to SurrealDB version 4.0.0 or later, where this vulnerability has been patched. The GitHub repository contains the specific commit reference for the patch.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | >= 3.1.0, < 4.0.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion