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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

History

23 Jul 2026, 20:17

Type Values Removed Values Added
References () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93 - Vendor Advisory, Mitigation () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93 - Mitigation, Vendor Advisory

22 Jul 2026, 15:47

Type Values Removed Values Added
References () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93 - () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93 - Vendor Advisory, Mitigation
References () https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-use-statement - () https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-use-statement - Third Party Advisory
CPE cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
First Time Surrealdb
Surrealdb surrealdb

20 Jul 2026, 12:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-20 12:19

Updated : 2026-07-23 20:17


NVD link : CVE-2026-63741

Mitre link : CVE-2026-63741

CVE.ORG link : CVE-2026-63741


JSON object : View

Products Affected

surrealdb

  • surrealdb
CWE
CWE-862

Missing Authorization