Case · DiggingBeagle record

SurrealDB MCP sessions could inherit another user’s authorization context

A session-fingerprint collision permitted lower-role callers to collide with higher-role MCP sessions in affected configurations; fixed in 3.3.0.

Public disclosure: Oct 19, 2026

Scope

Vendor advisory for specified SurrealDB versions and configurations; requires credential/session knowledge; not known to be exploited in production.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The vendor-hosted advisory documents reproducible MCP HTTP authorization collisions using a released binary and identifies patched version 3.3.0. It requires valid account/session material and includes conflicting lower affected-version descriptions; production exploitation and number of exposed deployments are unknown.. Impact is ungraded because no independently measured production-target impact or victim scope is established by this record.

Assessed Nov 4, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Authenticate as a lower-role user

    The attacker obtains a valid credential within the affected deployment, rather than forging an unauthenticated request.

    Boundary: Authenticated application user to MCP session layer

  2. 02

    Collide with a more privileged session identity

    The session fingerprint relies on the common access-method identity instead of reliably binding the validated user principal.

    Boundary: JWT identity to session credential isolation

  3. 03

    Issue a tool request under the wrong context

    Subsequent MCP operations can inherit another session context when the attacker also knows the victim session identifier.

    Boundary: MCP session lookup to database authorization

Claims & evidence

CLM-NOV04-SURREALDB-MCP-SESSION-1SurrealDB documents an MCP session-fingerprint collision when different JWT users share an access-method name in affected configurations.supported

Basis: reported finding

Link to claim
CLM-NOV04-SURREALDB-MCP-SESSION-2The vendor lists SurrealDB 3.3.0 as a fixed version.supported

Basis: reported finding

Link to claim
CLM-NOV04-SURREALDB-MCP-SESSION-3The October 19 advisory specifies an affected package range beginning at 3.1.0, but its narrative describes affected MCP HTTP transport from 3.2.0; it reports reproducing seven of seven checks on a released 3.2.0 binary.supported

Basis: reported finding

Link to claim

Implications

Agent tool servers need principal-bound sessions and per-request authorization. Session IDs must not be treated as authority by themselves, and a JWT’s method label does not uniquely identify a user.

Controls and mitigations

  • Upgrade affected SurrealDB instances to 3.3.0 or later.
  • Bind sessions to exact authenticated identity and tenant, and reject cross-principal reuse.
  • Exercise multi-user same-method session tests, including leaked/colliding session identifiers.

Unknowns and contradictions

  • The public advisory does not establish real-world victims or measured exploitation prevalence.
  • Whether deployments expose session identifiers depends on their specific transport and access controls.
  • The advisory's package range starts at 3.1.0 while the narrative names 3.2.0; the actual earliest exposed 3.1.x configuration requires separate verification.

Sources and citation

Material revision history

  1. Nov 4, 2026 · Published version · first publication · revision 217