CVE-2026-145070

MEDIUMCVSS 4.2/10

Last modified

CVE-2026-145070 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. SurrealDB before 4.0.0 lacks namespace-creation authorization checks in DDL statements such as DEFINE FUNCTION, DEFINE PARAM, and DEFINE USER ON NS. Database- or namespace-level Editors holding a WebSocket or embedded SDK session authenticated before a root administrator dropped their namespace can execute DDL to silently recreate that namespace, empty, without root privileges..

Description

SurrealDB before 4.0.0 lacks namespace-creation authorization checks in DDL statements such as DEFINE FUNCTION, DEFINE PARAM, and DEFINE USER ON NS. Database- or namespace-level Editors holding a WebSocket or embedded SDK session authenticated before a root administrator dropped their namespace can execute DDL to silently recreate that namespace, empty, without root privileges.

Metrics

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2026-145070?
SurrealDB before 4.0.0 lacks namespace-creation authorization checks in DDL statements such as DEFINE FUNCTION, DEFINE PARAM, and DEFINE USER ON NS. Database- or namespace-level Editors holding a WebSocket or embedded SDK session authenticated before a root administrator dropped their namespace can execute DDL to silently recreate that namespace, empty, without root privileges.
How severe is CVE-2026-145070?
CVE-2026-145070 has a CVSS score of 4.2/10 (MEDIUM severity).
How do I fix CVE-2026-145070?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-145070?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST