Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-63741 EUVD-2026-45912GHSA-8p7x-252x-x2h5GHSA-wp87-mgvq-5j93

SurrealDB before 3.1.0 Authentication Bypass via USE statement

Published Jul 20, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
surrealdb surrealdb < 3.1.0 3.1.0

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb < 3.1.0 3.1.0 GHSA-wp87-mgvq-5j93

References