CVE-2026-102876
SurrealDB before 3.3.0 Cross-Tenant Access via Headers
- State
- Published
- Severity
- 8.6 High
- Published
- Sep 29, 2026
- Updated
- Oct 2, 2026
- Reserved
- Sep 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
Affected Products
| Product | Versions |
|---|---|
surrealdbsurrealdb |
|
References
- GitHub Security Advisory (GHSA-vx2p-7hhm-wv62)vendor-advisory
- https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31patch
- https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rstechnical-description
- surrealdb v3.3.0 Release Notesrelease-notes
- https://github.com/surrealdb/surrealdbproduct
- VulnCheck Advisory: SurrealDB before 3.3.0 Cross-Tenant Access via Headersthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.