NIXPKGS-2026-2173
GitHub issue
published 1 week, 1 day ago
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
Permalink
CVE-2026-49997
5.4 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
2 packages
- surrealdb-surrealkv
- surrealdb-migrations
- @LeSuisse accepted
- @LeSuisse published on GitHub
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
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.
References
-
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf x_refsource_CONFIRM
-
https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0 x_refsource_MISC
Affected products
surrealdb
- ==< 3.1.0
Matching in nixpkgs
Ignored packages (2)
pkgs.surrealdb-surrealkv
SurrealDB with the SurrealKV storage backend
pkgs.surrealdb-migrations
Awesome SurrealDB migration tool, with a user-friendly CLI and a versatile Rust library that enables seamless integration into any project
Package maintainers
-
@siriobalmelli Sirio Balmelli <sirio@b-ad.ch>
-
@happysalada Raphael Megzari <raphael@megzari.com>
-
@sikmir Nikolay Korotkiy <sikmir@disroot.org>