Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a48755
- https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf
FAQ
What is CVE-2026-49997?
CVE-2026-49997 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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...
How severe is CVE-2026-49997?
CVE-2026-49997 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49997?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.