CVE-2026-134290 Details
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.
A vulnerability in SurrealDB versions 2.2.0 prior to 4.0.0 allows for information disclosure through error messages generated by ON DELETE REJECT reference rules. When a delete operation is blocked by an ON DELETE REJECT reference, the error message includes the record ID of the referencing row without verifying the caller's SELECT permission for that row. This oversight enables an authenticated user with DELETE permission to identify and obtain the exact IDs of referencing records that are otherwise hidden by row-level SELECT permissions. The issue arises because the error message is generated from the reference index without any permission checks, crossing the boundary of row-level SELECT permissions.
Users can upgrade to SurrealDB version 4.0.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ff2q-h4x7-cpj4 | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-information-disclosure-via-on-delete-reject-errors | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | >= 2.2.0, < 4.0.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion