CVE-2026-134293 SurrealDB 3.1.0 before 4.0.0 SQL Injection via MCP Tool Identifier Escaped Backticks

Published Updated

Attackers can inject SurrealQL via MCP tool arguments with escaped backticks in SurrealDB; operators exposing its MCP server should care.

CVSS score

High

8.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134293?

CVE-2026-134293 is a high-severity SQL injection vulnerability in surrealdb, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-89

How severe is CVE-2026-134293?

CVE-2026-134293 scores 8.8 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134293?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 3.1.04.0.0

How do I fix CVE-2026-134293?

Upgrade surrealdb to 4.0.0 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-134293 being exploited?

There is no known exploitation of CVE-2026-134293 in the wild and no public exploit code.

Sources

Also known as GHSA-c88v-jgq3-49rc, GHSA-cr79-9p8r-p5wx.

Is CVE-2026-134293 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free