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.
Published: 2026-09-29
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Cross-tenant Authorization Bypass
Action: Patch
AI Analysis

Impact

SurrealDB versions before 3.3.0 contain an authorization bypass in the HTTP session creation routine. The authentication routine checks credentials against Surreal-Auth-NS and Surreal-Auth-DB headers, but the session is built using Surreal-NS and Surreal-DB headers without validating that the user is permitted to access the chosen namespace and database. This flaw allows an authenticated user to impersonate a member of another tenant and read, create, or modify records that belong to that tenant, effectively elevating privileges across tenant boundaries.

Affected Systems

The affected product is SurrealDB from the SurrealDB vendor. All releases prior to 3.3.0, including the publicly available 3.2.4 build, are vulnerable. No specific operating system or deployment configuration is required beyond running a vulnerable version of SurrealDB exposed to HTTP clients.

Risk and Exploitability

The vulnerability is scored as CVSS 8.6, indicating high severity. EPSS data is not available, so the exact likelihood of exploitation cannot be quantified; however, the flaw is exploitable over the network via HTTP header manipulation and does not require special privileges beyond valid authentication. The issue is not listed in the CISA KEV catalog, suggesting no publicly known active exploitation at the time of assessment. Attackers who can send crafted HTTP requests to the application can leverage the unauthorized tenant selection to gain access to sensitive data.

Generated by OpenCVE AI on September 30, 2026 at 10:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later, where the header validation bug has been fixed.
  • If an upgrade cannot be performed immediately, configure the server to reject or ignore Surreal-NS and Surreal-DB headers supplied by clients, ensuring only the authenticated tenant’s headers are accepted.
  • Limit network exposure by placing SurrealDB behind a firewall or access control list that only allows trusted IP ranges, reducing the attack surface for header manipulation.
  • Regularly audit and monitor access logs for anomalous header usage that might indicate attempts to cross tenant boundaries.

Generated by OpenCVE AI on September 30, 2026 at 10:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title SurrealDB before 3.3.0 Cross-Tenant Access via Headers
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-639
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, 'vector': '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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-02T12:25:20.288Z

Reserved: 2026-09-29T17:33:18.732Z

Link: CVE-2026-102876

cve-icon Vulnrichment

Updated: 2026-10-02T12:25:15.843Z

cve-icon NVD

Status : Deferred

Published: 2026-09-29T20:17:18.230

Modified: 2026-10-02T13:17:31.060

Link: CVE-2026-102876

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T10:45:17Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key