# CVE-2026-109340: SurrealDB 3.1.0 before 3.3.0 Authorization Bypass via REFERENCE ON DELETE CASCADE

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-10-12T16:05:26.502Z
- Modified: 2026-10-13T18:17:19.500Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.1.0 before 3.3.0 (not affected: 3.3.0)

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4w65-7h3j-p29h> (vendor-advisory)
- <https://www.vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-authorization-bypass-via-reference-on-delete-cascade> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109340](https://www.cve.org/CVERecord?id=CVE-2026-109340), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-109340](https://nvd.nist.gov/vuln/detail/CVE-2026-109340), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-109340 · Whole record: https://cve.day/CVE-2026-109340.json · Rebuilt by cve.day 2026-11-25T22:59:43.634Z
