{"id":"CVE-2026-109340","title":"SurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE","summary":"SurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE. Attackers with delete permission on a reference…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","cwe":["CWE-862"],"published":"2026-10-12","updated":"2026-10-13","sourceUpdated":"2026-10-13T18:17:19.500","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-109340","references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4w65-7h3j-p29h","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-authorization-bypass-via-reference-on-delete-cascade","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"epss":0.00238,"epssPercentile":0.1472,"ingestedAt":"2026-10-12T18:00:08.207Z","vendor":"surrealdb","product":"surrealdb","affected":["surrealdb >= 3.1.0 < 3.3.0"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-13T17:51:57.907543Z"},"slug":"CVE-2026-109340","body":"## Overview\n\nSurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE. Attackers with delete permission on a referenced table can delete a record whose cascade disables permission checks for edge cleanup, erasing edges despite the edge table's PERMISSIONS FOR delete clause.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}