CVE-2026-63741

SurrealDB before 3.1.0 Authentication Bypass via USE statement

State
Published
Severity
6.9 Medium
Published
Jul 20, 2026
Updated
Jul 28, 2026
Reserved
Jul 18, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 3.1.0Affected
  • 3.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.