Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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