CVE-2026-49997
SurrealDB is a scalable, distributed, collaborative, document-graph …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf
- github.com/surrealdb/surrealdb/pull/242
- github.com/surrealdb/surrealdb/commit/a80d1784cf75358441978bbd77688855e95f4578
- github.com/advisories/GHSA-whwg-vh4f-pmmf
- github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616
- github.com/surrealdb/surrealdb/releases/tag/v3.1.0
- nvd.nist.gov/vuln/detail/CVE-2026-49997
- nvd.nist.gov/vuln/detail/CVE-2026-49997
- cve.org/CVERecord?id=CVE-2026-49997
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.