CVE-2026-102876 Details
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.
A vulnerability exists in SurrealDB versions prior to 3.3.0, allowing for cross-tenant data access through an authorization bypass in HTTP session construction. The issue arises because the `check_auth()` function verifies user credentials against the `Surreal-Auth-NS` and `Surreal-Auth-DB` headers but constructs sessions using the `Surreal-NS` and `Surreal-DB` headers without validating access permissions. This flaw enables attackers to authenticate as a user from one tenant while selecting another tenant's namespace and database, thereby reading, creating, and modifying records across tenant boundaries.
Users should upgrade to SurrealDB version 3.3.0 or later, where this vulnerability has been patched. After upgrading, verify that the `USE` statement and HTTP session headers are correctly scoped to the authenticated user's permissions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | < 3.3.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 29, 2026 | New CVE Received | [email protected] |
Volerion