CVE-2026-134290
Deferred Deferred - Pending Action

SurrealDB 2.2.0 to 4.0.0 Information Disclosure via Error Message

Vulnerability report for CVE-2026-134290, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
surrealdb surrealdb From 2.2.0 (inc) to 4.0.0 (exc)
surrealdb surrealdb to 4.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-209 The product generates an error message that includes sensitive information about its environment, users, or associated data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in SurrealDB 2.2.0 through 3.x allows an authenticated user with DELETE privileges to learn the existence and exact IDs of referencing records that should be hidden by row-level SELECT permissions. When a DELETE operation is blocked by an ON DELETE REJECT constraint, the error message includes the record ID of the referencing row without checking if the caller has SELECT permission on that row.

Detection Guidance

To detect this vulnerability, monitor SurrealDB error logs for DELETE operations that fail due to ON DELETE REJECT constraints. Look for error messages containing record IDs of referencing rows, which may indicate the flaw. Check if authenticated users with DELETE permissions can infer hidden record IDs through these errors.

Impact Analysis

An attacker with DELETE permissions could enumerate hidden records (e.g., moderation or watchlist entries) by attempting to delete referenced records and reading the error messages. This bypasses row-level security, potentially exposing sensitive data or allowing enumeration of restricted records one ID at a time.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. Exposure of hidden record IDs may constitute a data breach, requiring notification under these regulations. Row-level security bypasses undermine compliance with access control and data protection mandates.

Mitigation Strategies

Upgrade SurrealDB to version 4.0.0 or later to patch the vulnerability. If upgrading is not immediately possible, restrict DELETE permissions to trusted users and review error message handling to avoid exposing referencing record IDs in rejection errors.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134290. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...