{"id":"CVE-2026-109340","published":"2026-10-12T16:05:26Z","modified":"2026-10-13T17:52:23Z","title":"SurrealDB 3.1.0 before 3.3.0 Authorization Bypass via REFERENCE ON DELETE CASCADE","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00326,"percentile":0.18171,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4w65-7h3j-p29h","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-authorization-bypass-via-reference-on-delete-cascade","tags":["third-party-advisory"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":3.63},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":[">= 3.1.0, < 3.3.0"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["3.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-13T17:51:57.907543Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-97642","exploited":false,"provenance":"source"}}