Unrated severityNVD Advisory· Published Nov 21, 2026
SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors
CVE-2026-134290
Description
SurrealDB 2.2.0 before 4.0.0 includes the record id of a referencing row in the error returned when a delete is blocked by an ON DELETE REJECT reference, without checking the caller's SELECT permission on that row. An authenticated principal with DELETE permission can attempt to delete a referenced record and read the rejection error to learn the existence and exact ids of referencing records hidden by row-level SELECT permissions.
Patches
Vulnerability mechanics
References
2- github.com/surrealdb/surrealdb/security/advisories/GHSA-ff2q-h4x7-cpj4mitrevendor-advisory
- www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-information-disclosure-via-on-delete-reject-errorsmitrethird-party-advisory
News mentions
0No linked articles in our index yet.