Medium severity · published Jul 15, 2026
CVE-2026-49997
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false) when a connected node was deleted, bypassing the edge table's PERMISSIONS FOR delete and PERMISSIONS FOR select clauses. This issue is fixed in version 3.1.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
surrealdb · surrealdb
< 3.1.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-49997
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-49997
github.com
https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616
github.com
https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0
github.com
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf
More from surrealdb
8.8
CVE-2026-63763
SurrealDB before 2.5.0 Privilege Escalation via Future Fields
8.8
CVE-2026-63757
SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
8.8
CVE-2025-71390
SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
8.8
CVE-2024-58366
SurrealDB before 1.1.1 Format String via Scripting Functions
8.8
CVE-2024-58362
SurrealDB before 1.5.5 Query Injection via RPC API
