{"cve":"CVE-2026-49997","nvd":{"published":"2026-07-15T17:16:49.103","modified":"2026-07-20T16:17:04.050","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-285","CWE-863"],"references":["https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616","https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0","https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:45:36.895656543+00:00"},"epss":{"cve":"CVE-2026-49997","score":0.00347,"percentile":0.2834,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-whwg-vh4f-pmmf","url":"https://osv.dev/vulnerability/GHSA-whwg-vh4f-pmmf","summary":"SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted","modified":"2026-07-20T19:15:27.499700579Z","packages":[{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":["<3.1.0"],"fixed":["3.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}