# CVE-2026-102876: SurrealDB before 3.3.0 Cross-Tenant Access via Headers

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-09-29T20:01:06.088Z
- Modified: 2026-10-02T13:17:31.060Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 3.3.0 (not affected: 3.3.0)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62> (vendor-advisory)
- <https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31> (patch)
- <https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs> (technical-description)
- <https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0> (release-notes)
- <https://github.com/surrealdb/surrealdb> (product)
- <https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-102876](https://www.cve.org/CVERecord?id=CVE-2026-102876), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-102876](https://nvd.nist.gov/vuln/detail/CVE-2026-102876), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-102876 · Whole record: https://cve.day/CVE-2026-102876.json · Rebuilt by cve.day 2026-11-25T22:59:41.562Z
