CVE-2026-63741
Received Received - Intake

SurrealDB Permission Bypass via USE Command

Vulnerability report for CVE-2026-63741, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-20

Last updated on: 2026-07-20

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-20
Last Modified
2026-07-20
Generated
2026-07-21
AI Q&A
2026-07-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
surrealdb surrealdb to 3.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-63741 is an authentication bypass vulnerability in SurrealDB versions before 3.1.0. It allows unauthenticated attackers to create arbitrary namespaces and databases by exploiting USE NS and USE DB statements. The flaw occurs because the software fails to validate DEFINE NAMESPACE or DEFINE DATABASE permissions when processing these commands.

Detection Guidance

Check SurrealDB version with command: surrealdb version. If version is below 3.1.0, the system is vulnerable. Monitor logs for unexpected USE NS or USE DB commands creating new namespaces/databases without authentication.

Impact Analysis

An attacker could create new namespaces and databases without required permissions, recreate dropped parent namespaces using stale tokens, or exhaust catalog storage by repeatedly creating resources. They cannot read or modify existing data or escalate privileges on existing resources. This affects deployments with auth_enabled=false.

Compliance Impact

This vulnerability allows unauthenticated attackers to create arbitrary namespaces and databases, bypassing authorization checks. This could lead to unauthorized data storage or manipulation, potentially violating compliance requirements for data integrity, access control, and auditability under standards like GDPR and HIPAA.

Mitigation Strategies

Upgrade SurrealDB to version 3.1.0 or later immediately. If upgrading is not possible, enable authentication with --auth flag and require sign-in before issuing USE commands. Set --deny-arbitrary-query * for guest principals as a temporary workaround.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63741. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart