Skip to content
High 8.8

SurrealDBのMCPツールでSQLインジェクションの脆弱性、任意のSurrealQL文を実行されるおそれ

CVE-2026-134293 First seen on SecPulse

Summary

SurrealDB 3.1.0から4.0.0より前のバージョンでは、MCPサーバーのidentifier検証にエスケープされたバッククォートの扱いの不備があり、SQLインジェクションによって任意のSurrealQL文を実行されるおそれがあります。修正版の4.0.0が公開されているため、該当バージョンの利用者は4.0.0以降へのアップデートを急いでください。CVSSv4は8.8で、重大度は高とされています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

SurrealDB 3.1.0から4.0.0より前のバージョンでは、MCPサーバーのidentifier検証にエスケープされたバッククォートの扱いの不備があり、SQLインジェクションによって任意のSurrealQL文を実行されるおそれがあります。修正版の4.0.0が公開されているため、該当バージョンの利用者は4.0.0以降へのアップデートを急いでください。CVSSv4は8.8で、重大度は高とされています。

Affected packages

PackageAffected → Fixed
surrealdbsurrealdb
≥ 3.1.0, < 4.0.0→ 4.0.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details