{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-49997","published":"2026-07-15T17:16:49.103000Z","last_modified":"2026-07-20T16:17:04.050000Z","status":"Deferred","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-285","CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["surrealdb"],"products":["surrealdb/surrealdb"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-whwg-vh4f-pmmf","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"0","fixed":"3.1.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-49997/","html_en":"/en/cve/CVE-2026-49997/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49997","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49997"},"untrusted":{"vendor_name":"surrealdb","product_name":"surrealdb","desc_en":"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.","affected":[{"untrusted_vendor":"surrealdb","untrusted_product":"surrealdb","versions":[]}],"references":[{"url":"https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0","tags":[]},{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf","tags":[]}]}}