# CVE-2026-134300: SurrealDB 2.2.0 before 4.0.0 Permission Bypass via REFERENCE ON DELETE Cascade

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-21T16:35:07.068Z
- Modified: 2026-11-24T01:17:24.933Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SurrealDB from 2.2.0 before 4.0.0 contains an authorization bypass vulnerability in Document::purge_references that lets authenticated users bypass target table PERMISSIONS by triggering REFERENCE ON DELETE cascades. Attackers can delete a referenced record to delete, unset, or run CUSTOM expressions on referencing records despite PERMISSIONS FOR delete or update NONE.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 2.2.0 before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fh2q-8f75-m4h6> (vendor-advisory)
- <https://www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-permission-bypass-via-reference-on-delete-cascade> (third-party-advisory)

## Sources

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

---

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