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

Medium 5.3 Published Updated

Authenticated users can bypass delete permissions on graph edges by exploiting REFERENCE ON DELETE CASCADE, allowing unauthorized data deletion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-109340?

CVE-2026-109340 is a medium-severity missing authorization vulnerability in surrealdb, published on 12 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-109340?

How do I fix CVE-2026-109340?

No fix has been published for CVE-2026-109340 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-109340 being exploited?

There is no known exploitation of CVE-2026-109340 in the wild and no public exploit code.

Sources

Also known as GHSA-776g-xgm5-fjc8.

Is CVE-2026-109340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free