CVE-2026-102876
published high CVSS 4.0 · 8.6SurrealDB before 3.3.0 Cross-Tenant Access via Headers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb0 to < 3.3.0 (affected · semver) · 3.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 0 to < 3.3.0 (affected · semver)3.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
6- 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
- surrealdb v3.3.0 Release Notes https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0
- GitHub Security Advisory (GHSA-vx2p-7hhm-wv62) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62
- VulnCheck Advisory: SurrealDB before 3.3.0 Cross-Tenant Access via Headers https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers
Provider assertions
2VulnCheck · cna
SurrealDB before 3.3.0 Cross-Tenant Access via Headers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8e1b9d780fbd08e7f94b53f520193ce0fbf906c7f79a233b7bb8b4e536704751
- Ingested
- 02 Oct 2026, 16:23:05 UTC
- Source record
- Official CVE record