CVE-2026-145070
SurrealDB before 4. 0. 0 Authorization Bypass via DDL Namespace Recreation
- Severity
- 2.3LowNetwork attack, low privileges, no user interactionCVSS 4.0, CVE List
- Exploitation
- Proof of conceptCISA reports one, no source links it
- Exploit chance
- UnknownNo source reports an EPSS score yet.
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Network
- Complexity
- High
- Attack requirements
- Present
- Privileges needed
- Low
- User interaction
- None
Impact on the vulnerable system
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NAffected
Products 1
Sources
CVE List Score usedCVSS 4.02.3
SurrealDB before 4.0.0 Authorization Bypass via DDL Namespace Recreation
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.
- Record
CVE-2026-145070- CVSS 4.0
- 2.3 Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-862
- Updated
- 2026-12-04
EUVDEUVD-2026-144304CVSS 4.02.3
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.
- Record
EUVD-2026-144304- CVSS 4.0
- 2.3 Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-12-04
GitHub AdvisoriesGHSA-5r4x-h8v7-325mCVSS 4.02.3
SurrealDB before 4.0.0 lacks namespace-creation authorization checks in DDL statements such as...
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.
- Record
GHSA-5r4x-h8v7-325m- CVSS 4.0
- 2.3 Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-862
- Updated
- 2026-12-04
NVDCVSS 4.02.3
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.
- Record
CVE-2026-145070- CVSS 4.0
- 2.3 Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L - Weakness
- CWE-862
- Updated
- 2026-12-04
OSVCVSS 4.02.3
SurrealDB before 4.0.0 Authorization Bypass via DDL Namespace Recreation
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.
- Record
CVE-2026-145070- CVSS 4.0
- 2.3 Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-862
- Updated
- 2026-12-04
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Other IDs, references, severity | GitHub Advisories | |
| Key facts | CVE List | |
| Other IDs, references | OSV | |
| Other IDs, published date | EUVD | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/surrealdb/surrealdb/security/advisories/GHSA-3287-hpm5-3f8r
vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-ddl-namespace-recreation
nvd.nist.gov/vuln/detail/CVE-2026-145070
github.com/advisories/GHSA-5r4x-h8v7-325m
github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145070.json