CVE-2026-102876

Summary

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 Software

VendorProductVersion RangeStatus
surrealdbsurrealdb0 < 3.3.0affected
surrealdbsurrealdb3.3.0unaffected

Weaknesses

  • CWE-639: Authorization Bypass Through User-Controlled Key

References