← News
SurrealDB: execute arbitrary queries via injection
HighAI-generated2026-11-22
- CVE
- CVE-2026-134293
- Severity
- High (CVSS 8.2)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- Exploitation probability (EPSS)
- 0.3% (within 30 days; FIRST EPSS, 25 November 2026)
Summary
SurrealDB versions before 4.0.0 are vulnerable to an injection flaw that lets attackers run arbitrary SurrealQL statements.
Details
According to the NVD record, SurrealDB 3.1.0 through versions prior to 4.0.0 contains an injection vulnerability in its Model Context Protocol server. The identifier validator mishandles backticks, treating the first backtick as the closing delimiter and ignoring escape characters.
An attacker can provide MCP tool arguments with an escaped backtick, breaking out of the quoted identifier and executing any SurrealQL commands they choose.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 21 November 2026 NVD record published
- 22 November 2026 This article was written