CVE-2026-63741

Summary

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 Software

VendorProductVersion RangeStatus
surrealdbsurrealdb0 < 3.1.0affected
surrealdbsurrealdb3.1.0unaffected

Weaknesses

  • CWE-862: Missing Authorization

References