CVE-2026-63741
MEDIUM
6.5
CVSS 3.1
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.
Metadata
Severity & Metrics
6.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 3.1.0, 3.1.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-862 | cna | Missing Authorization |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.9 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| 6.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
References (2)
- GitHub Security Advisory (GHSA-wp87-mgvq-5j93) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93
- VulnCheck Advisory: SurrealDB before 3.1.0 Authentication Bypass via USE statement https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-use-statement