CVE-2026-63741 SurrealDB before 3.1.0 Authentication Bypass via USE statement
MediumCVSS 6.9
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 3.1.0 | 3.1.0 | Fixed |
| crates.io surrealdb(crates.io) | < 3.1.0 | 3.1.0 | Fixed |
| surrealdb | < 3.1.0 | 3.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | < 3.1.0 | 3.1.0 |
| crates.io surrealdb(crates.io) | < 3.1.0 | 3.1.0 |
| surrealdb | < 3.1.0 | 3.1.0 |
References
- GitHub Security Advisory (GHSA-wp87-mgvq-5j93) mitigation vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Authentication Bypass via USE statement third-party-advisory
- github.com patch
- github.com product
- github.com