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

EPSS: 0.004 (29.9th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-63741?
CVE-2026-63741 is a medium-severity vulnerability in Surrealdb, classified under Missing Authorization. CVSS score: 6.5/10. Published 2026-07-20.
How severe is CVE-2026-63741?
Medium severity. CVSS v3 base score is 6.5 out of 10.