SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false) when a connected node was deleted, bypassing the edge table's PERMISSIONS FOR delete and PERMISSIONS FOR select clauses. This issue is fixed in version 3.1.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| surrealdb | surrealdb | before 3.1.0 | 3.1.0 | Patch available | CNA |
| — | surrealdb (crates.io) | before 3.1.0 | 3.1.0 | Patch available | GHSA-whwg-vh4f-pmmf |
- surrealdb Vendorsurrealdb Affected before 3.1.0 Fixed in 3.1.0 Patch available CNA
- surrealdb (crates.io) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-whwg-vh4f-pmmf
Remediation
- Fix · CNA surrealdb (surrealdb) Fixed in 3.1.0
- Fix · GHSA-whwg-vh4f-pmmf surrealdb (crates.io) Fixed in 3.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49997
- 2026-10-03 Alias added: GHSA-whwg-vh4f-pmmf
References
Other 6
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf
- https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616
- https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0
- https://github.com/surrealdb/surrealdb/pull/242
- https://github.com/surrealdb/surrealdb/commit/a80d1784cf75358441978bbd77688855e95f4578
- https://github.com/surrealdb/surrealdb
More surrealdb vulnerabilities
- TI-2026-84300 SurrealDB index planner lets users infer restricted fields CVSS 4.0MEDIUM 5.3
- TI-2026-84304 Server-side request forgery in SurrealDB via JWKS URL default ports CVSS 4.0MEDIUM 5.1
- TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
- TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
- TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
- TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
Sources
- CVE-2026-49997 · CVE Program
- CVE-2026-49997 · NVD
- FIRST EPSS
- GHSA-whwg-vh4f-pmmf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences