SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 21, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 20, 2026
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.
| Product | Versions |
|---|---|
| surrealdb surrealdb | 2.2.0 to before 4.0.0 Affected4.0.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-209 Generation of Error Message Containing Sensitive Information
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.