CVE-2026-102876Surrealdb authorization bypass through user-controlled key (IDOR)
CVSS score
8.6
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.27%
0.27% chance of exploitation in the next 30 days, higher than 19.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Surrealdb and compare its version with the affected versions.
Update to a fixed version
- Update Surrealdb to 3.3.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| surrealdb Surrealdb | < 3.3.0 |
Weakness
- CWE-639 authorization bypass through user-controlled key (IDOR)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102876 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102876?
CVE-2026-102876 has a CVSS 4.0 base score of 8.6 (high).
Which versions are affected?
Surrealdb Surrealdb (< 3.3.0)
Is there a patch for CVE-2026-102876?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/surrealdb/surrealdb
- github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs
- github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31
- github.com/surrealdb/surrealdb/releases/tag/v3.3.0
- github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62
- www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.