CVE-2026-63741
6.9
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
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| surrealdb | surrealdb | 0 < 3.1.0 | affected |
| surrealdb | surrealdb | 3.1.0 | unaffected |
Weaknesses
- CWE-862: Missing Authorization
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wp87-mgvq-5j93
- https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-use-statement
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.