Skip to content

CVE-2026-134290 SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors

HighCVSS 7.1 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io surrealdb >= 2.2.0, < 4.0.0 4.0.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb >= 2.2.0, < 4.0.0 4.0.0

References