SurrealDB: Session hijacking
HighAI-generated2026-11-04
- CVE
- CVE-2026-121419
- Severity
- High (CVSS 8.1)
- Attack conditions
- Remotely, over the network · A regular user account is needed · No user action needed
- Exploitation probability (EPSS)
- 0.3% (within 30 days; FIRST EPSS, 10 November 2026)
Summary
SurrealDB versions from 3.1.0 up to but not including 3.3.0 contain an authentication flaw that allows an attacker to hijack a user session and act with the victim's roles and permissions.
Details
According to the NVD record, SurrealDB releases starting with version 3.1.0 and before version 3.3.0 have an improper authentication issue. The problem lies in the way the MCP BoundSubject fingerprint is generated, using the access method name instead of the individual user's identity for JWT/Bearer tokens.
An attacker who possesses a valid low-privilege token for the same access method and can obtain a victim's mcp-session-id may take over that session. This enables the attacker to run MCP tools and perform actions with the victim's roles and permissions.
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
- 3 November 2026 NVD record published
- 4 November 2026 This article was written