Auth bypass in Surrealdb
CVE-2026-63741
SurrealDB versions before 3.1.0 fail to validate DEFINE NAMESPACE or DEFINE DATABASE permissions when processing USE NS and USE DB statements. Unauthenticated attackers can create arbitrary namespaces and databases by issuing USE commands, bypassing authorization checks in the RPC use method and SurrealQL executor.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 31.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Surrealdb — versions 0, 3.1.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-wp87-mgvq-5j93) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: SurrealDB before 3.1.0 Authentication Bypass via USE statement (Third Party Advisory, third-party-advisory)