Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134290: high-severity vulnerability (CVSS 7.1) in surrealdb surrealdb.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
surrealdb surrealdb >= 2.2.0, < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | >= 2.2.0, < 4.0.0 | — |
| surrealdb surrealdb | 4.0.0 | 4.0.0 |
Action recommended by the source
Upgrade to a fixed version: 4.0.0.
Fixed in: 4.0.0
Sources and references
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ff2q-h4x7-cpj4 — CVE Program
- https://www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-information-disclosure-via-on-delete-reject-errors — CVE Program
Weaknesses (CWE): CWE-209
Relevant change history
Published
Preliminary advisory published.