CVE-2023-54366

SurrealDB before 1.0.1 Insecure Default Table Permissions

Published Jul 18, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
SurrealDB before 1.0.1 sets default table permissions to FULL instead of NONE, allowing SELECT, CREATE, UPDATE, and DELETE operations on tables without explicit permissions. Attackers with database access or unauthenticated users on publicly exposed instances can perform unrestricted operations on unprotected tables within their authorization scope.

Analysis

AI-generated

Technical impact

SurrealDB before version 1.0.1 misconfigures the default permissions for newly created tables, granting full access—SELECT, CREATE, UPDATE, and DELETE—to any user who can reach the database. This privilege escalation flaw (CWE‑276) permits attackers to read, alter, or delete data in tables that were intended to be protected. Because the vulnerability exists at the database engine level, an adversary can influence all tables created after the service starts, potentially compromising the confidentiality, integrity, and availability of the application’s data.

Affected Systems

The affected product is SurrealDB in all releases before 1.0.1. Users who have deployed a publicly exposed or otherwise uncontrolled instance of SurrealDB may find that their database tables inherit FULL permissions by default unless they explicitly configure access controls. The issue is not limited to a specific minor revision; any build lacking the patch has the same default permission behaviour.

Risk and Exploitability

The CVSS base score is 8.7, indicating a high severity level, while the EPSS score is below 1%, suggesting that active exploitation is currently low. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit it by obtaining any level of database access, including unauthenticated connections on publicly exposed instances, and by simply executing standard SQL commands. Because the flaw resides in default configuration, it does not require exploitation of additional logic or privileged code execution beyond normal database operations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 1.0.1 or later to correct the default permission setting
  • Configure explicit ACLs on existing tables to enforce the desired access controls
  • Restrict database access to trusted networks or authenticated users, ensuring that only authorized stakeholders can reach the database instance

Generated by OpenCVE AI on August 1, 2026 at 08:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x5fr-7hhj-34j3 SurrealDB: Full Table Permissions by Default
History
Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SurrealDB before 1.0.1 sets default table permissions to FULL instead of NONE, allowing SELECT, CREATE, UPDATE, and DELETE operations on tables without explicit permissions. Attackers with database access or unauthenticated users on publicly exposed instances can perform unrestricted operations on unprotected tables within their authorization scope.
Title SurrealDB before 1.0.1 Insecure Default Table Permissions
Weaknesses CWE-276
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-276

    Incorrect Default Permissions

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:47 AM
Reserved
Jun 22, 2026, 9:54 PM
Status
Analyzed
Published
Jul 18, 2026, 2:17 PM
Modified
Oct 28, 2026, 7:10 PM