{"id":"CVE-2026-102876","published":"2026-09-29T20:17:18.230","lastModified":"2026-10-02T13:17:31.060","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.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-639"],"vendors":[],"products":[],"references":[{"url":"https://github.com/surrealdb/surrealdb","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62","tags":[]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers","tags":[]}],"exploitRefs":[{"url":"https://github.com/surrealdb/surrealdb","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62","tags":[]}],"hasPoc":true,"ai":{"summary":"This flaw allows attackers to bypass authorization by misusing HTTP session headers, enabling them to access data from different tenant namespaces and databases.","exploitability":"Exploitation is moderately hard as it requires attackers to manipulate HTTP headers, but preconditions include access to the affected version of SurrealDB.","blast_radius":"If exploited, attackers can read, create, and modify records across tenant boundaries, leading to significant data breaches and unauthorized access.","remediation":"Upgrade to SurrealDB 3.3.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","web","data-breach"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:43:48.118Z"}}