{"id":"CVE-2026-102876","title":"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 head…","summary":"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 head…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-639"],"vendor":"surrealdb","product":"surrealdb","affected":["surrealdb < 3.3.0"],"published":"2026-09-29","updated":"2026-09-29","sourceUpdated":"2026-09-29T20:17:18.377","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-102876","references":[{"url":"https://github.com/surrealdb/surrealdb","label":"disclosure@vulncheck.com"},{"url":"https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs","label":"disclosure@vulncheck.com"},{"url":"https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31","label":"disclosure@vulncheck.com"},{"url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0","label":"disclosure@vulncheck.com"},{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-29T20:46:06.443Z","slug":"CVE-2026-102876","body":"## Overview\n\nSurrealDB 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}