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

Read the record on cve.org

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.

ProductVersions
surrealdb surrealdb2.2.0 to before 4.0.0 Affected4.0.0 Not Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.