What’s Vulnerable › Vulnerabilities
CVE-2026-102876: SurrealDB before 3.3.0 Cross-Tenant Access via Headers
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-29 · updated 2026-10-02
- Weakness: CWE-639
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
- surrealdb: before 3.3.0 — fixed in 3.3.0
How to fix
Upgrade to a fixed version: surrealdb 3.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/surrealdb/surrealdb
- https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs
- https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31
- https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62
- https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers
Get alerted when CVE-2026-102876 or the next vulnerability affects your stack