ETK-2026-3393Zero's internal tracking ID, independent of the CVE number.
validatedZero produced an exploit or a check.description
SurrealDB versions with affected reference-on-delete handling can skip target-table permission checks during CASCADE, UNSET, or CUSTOM actions. An authenticated user allowed to delete a referenced record may thereby cause unauthorized changes, deletions, or configured expression execution on referencing records when the relevant reference action is configured.
mitigation
Upgrade the surrealdb package to version 4.0.0. Until upgrading, restrict delete permissions on referenced tables and avoid affected REFERENCE ON DELETE actions where practical.
fixed in 4.0.0
outcome
Check only, differential: the check fires on the vulnerable build and is silent on the patched one.
source signals
Public signals that triggered or updated the pipeline. These are inputs for the deltas above.
- 2026-11-03 15:51Zghsa: trigger signal, started the run
- 2026-11-03 15:51Z
this entry in the feed
GET /api/v1/feed/ETK-2026-3393
{ "etk_id": "ETK-2026-3393", "cve_id": null, "display_id": "ETK-2026-3393", "ghsa_id": "GHSA-fh2q-8f75-m4h6", "euvd_id": null, "status": "published", "anchor_state": "awaiting_cve", "title": "Permission bypass in SurrealDB reference delete actions", "summary": "SurrealDB versions with affected reference-on-delete handling can skip target-table permission checks during CASCADE, UNSET, or CUSTOM actions. An authenticated user allowed to delete a referenced record may thereby cause unauthorized changes, deletions, or configured expression execution on referencing records when the relevant reference action is configured.", "mitigation": "Upgrade the `surrealdb` package to version 4.0.0. Until upgrading, restrict delete permissions on referenced tables and avoid affected `REFERENCE ON DELETE` actions where practical.", "vendor": "rust", "product": "surrealdb", "affected": [ { "affected_notes": [], "affected_ranges": [ "< 4.0.0" ], "ecosystem": "rust", "fixed_versions": [ "4.0.0" ], "package_name": "surrealdb", "purl": "pkg:cargo/surrealdb" } ], "cwes": [ 863 ], "cvss_score": 8.1, "cvss_src": "cna_vendor", "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "epss_score": null, "epss_percentile": null, "epss_asof": null, "automation": "deterministic", "check": true, "check_confidence_basis": "differential", "exploit": false, "pipeline_minutes": 12.219953283333334, "t0_at": null, "signals": { "check": { "at": "2026-11-03T18:45:28.553582+00:00", "days": -0.07976617925925926, "is_lower_bound": true, "measured_at": "2026-11-03T20:40:20.682266+00:00", "url": null }, "public_poc": { "at": "2026-11-03T15:51:09+00:00", "days": -0.20082582719907408, "is_lower_bound": true, "measured_at": "2026-11-03T20:40:20.682266+00:00", "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fh2q-8f75-m4h6" }, "trigger_signal": { "at": "2026-11-03T15:51:09+00:00", "days": -0.20082582719907408, "is_lower_bound": true, "measured_at": "2026-11-03T20:40:20.682266+00:00", "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fh2q-8f75-m4h6" } } }
published 2026-11-03 18:33Z
last change 2026-11-03 20:24Z
Need the technical details behind an entry?
Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.