CVE-2026-134293surrealdb SQL Injection
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.2)
CVSS v3.1 Base Metrics — Score 8.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- surrealdb >= 3.1.0 and < 4.0.0
- surrealdb 4.0.0
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run surrealdb and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new surrealdb CVEsYou are reading CVE-2026-134293. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore surrealdb CVEs
External References
Data last checked: Nov 21, 2026 19:08 UTC