P3 · MediumCVSS 6.5
SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors
- CVE-2026-134290
- GHSA-j3wv-m7wg-4mrm
- EUVD-2026-132233
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.
Text from the CVE.org record.
Affected
surrealdb
- from 2.2.0 to before 4.0.0
- 4.0.0: not affected
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.