GHSA-pgh9-49q4-hqcx: SurrealDB 3.1.0 before 3.3.0 MCP Session Hijack via BoundSubject Collision

Published Nov 3, 2026
·
Updated

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.

Event History

Nov 3, 2026
CVE Published
via OSV·02:28 PM
Data Sourced
via OSV·02:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

SurrealDB versions from 3.1.0 up to, but not including, 3.3.0 are affected when MCP sessions use JWT or Bearer authentication. Exploitation requires the attacker and victim to use the same access method.

2

What does an attacker need to hijack a session?

The attacker needs a valid low-privilege JWT or Bearer token for the same access method as the victim, plus the victim's mcp-session-id. No user interaction is required.

3

What is the impact after a successful hijack?

An attacker can execute MCP tools using the victim's roles and permissions. This can compromise confidentiality and integrity within the permissions granted to the victim.

4

What version fixes the issue?

Upgrade to SurrealDB 3.3.0 or later. The affected range is 3.1.0 before 3.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203