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

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-11-21T16:35:12.512Z
- Modified: 2026-11-23T20:18:00.277Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.1.0 before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-cr79-9p8r-p5wx> (vendor-advisory)
- <https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-4.0.0-sql-injection-via-mcp-tool-identifier-escaped-backticks> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134293](https://www.cve.org/CVERecord?id=CVE-2026-134293), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134293](https://nvd.nist.gov/vuln/detail/CVE-2026-134293), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134293 · Whole record: https://cve.day/CVE-2026-134293.json · Rebuilt by cve.day 2026-11-25T22:59:52.536Z
