{"schema":"threatline.record/2","record":{"id":"CVE-2026-102876","aliases":["GHSA-vx2p-7hhm-wv62"],"summary":"SurrealDB before 3.3.0 Cross-Tenant Access via Headers","details":"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.","categories":["Unclassified"],"product":"surrealdb","vendor":"surrealdb","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102876","source_modified_at":"2026-10-02T12:25:20.288Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"surrealdb","vendor":"surrealdb","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"3.3.0"},{"version":"3.3.0","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102876","source_modified_at":"2026-10-02T12:25:20.288Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"surrealdb","ecosystem":null},"version":"3.3.0","basis":"first unaffected version stated in the CVE record"}],"cvss":8.6,"severity":"High","kev":{"listed":false},"epss":{"probability":0.0027,"percentile":0.18254,"score_date":"2026-10-23"},"published_at":"2026-09-29T20:01:06.088Z","modified_at":"2026-10-02T12:25:20.288Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102876","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-02T12:25:20.288Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102876","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-vx2p-7hhm-wv62","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://github.com/surrealdb/surrealdb/commit/5000e233b4a8b96689c82715c172061dcf711d31","tags":["patch"]},{"source":"CVE List","url":"https://github.com/surrealdb/surrealdb/blob/v3.2.4/surrealdb/server/src/ntw/auth.rs","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.3.0","tags":["release-notes"]},{"source":"CVE List","url":"https://github.com/surrealdb/surrealdb","tags":["product"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-headers","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-02T12:25:07.360167Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-02T12:25:20.288Z","content_hash":"c6036b1cf5d577b74c61d57c75e7bc40df704f5183a62ef2c5bf68ae5635a2aa"}}
