high7.1
CVE-2026-134290
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, witho…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products · Surrealdb
| Product | Affected versions |
|---|---|
| Surrealdb | from 2.2.0 before 4.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ff2q-h4x7-cpj4
- https://www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-information-disclosure-via-on-delete-reject-errors
- https://github.com/advisories/GHSA-j3wv-m7wg-4mrm
- https://nvd.nist.gov/vuln/detail/CVE-2026-134290