SurrealDBのMCPで別ユーザーのセッションを乗っ取られる脆弱性
Summary
SurrealDB 3.1.0から3.3.0未満には、MCPのセッション識別が利用者ごとではなくアクセス方式の名前で作られる脆弱性があります。同じアクセス方式の低権限トークンを持つ攻撃者が、被害者のmcp-session-idを使ってセッションを乗っ取り、被害者のロールと権限でMCPツールを実行できるおそれがあります。影響を受けるバージョンは3.3.0で修正されているため、3.3.0以降へ更新してください。CVSSv3は8.1、CVSSv4は8.6です。
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から3.3.0未満には、MCPのセッション識別が利用者ごとではなくアクセス方式の名前で作られる脆弱性があります。同じアクセス方式の低権限トークンを持つ攻撃者が、被害者のmcp-session-idを使ってセッションを乗っ取り、被害者のロールと権限でMCPツールを実行できるおそれがあります。影響を受けるバージョンは3.3.0で修正されているため、3.3.0以降へ更新してください。CVSSv3は8.1、CVSSv4は8.6です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| surrealdbsurrealdb |
≥ 3.1.0, < 3.3.0→ 3.3.0 |
3.3.0 |
Original description The description as published by the source.
SurrealDB from 3.1.0 before 3.3.0 contains an improper authentication vulnerability where the MCP BoundSubject fingerprint uses the access method name instead of per-user identity for JWT/Bearer access. Attackers with a valid low-privilege token for the same access method and a victim's mcp-session-id can hijack the session and execute MCP tools with the victim's roles and permissions.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web github.com
- web disclosure@vulncheck.com
- web github.com