What’s Vulnerable › Vulnerabilities

CVE-2026-102876: SurrealDB before 3.3.0 Cross-Tenant Access via Headers

Description

SurrealDB before 3.3.0 contains an authorization bypass in HTTP session construction where check_auth() verifies credentials against Surreal-Auth-NS and Surreal-Auth-DB headers but constructs sessions using Surreal-NS and Surreal-DB headers without validating access permissions. Attackers can authenticate as a user from one tenant while selecting another tenant's namespace and database to read, create, and modify records across tenant boundaries.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 3.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-102876 or the next vulnerability affects your stack