CVE-2026-137488: SurrealDB before 4.0.0 Information Disclosure via RELATE Endpoint Override Errors
SurrealDB before 4.0.0 contains an information disclosure vulnerability that allows authenticated users to read SELECT-hidden edge endpoints through InOverride/OutOverride error messages. Attackers with CREATE and UPDATE permission on an edge table can re-RELATE an existing edge with mismatched endpoints to recover stored in/out record ids despite row- or field-level restrictions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.0.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments running SurrealDB before 4.0.0 are exposed where authenticated users have CREATE and UPDATE permission on an edge table. The issue matters when row- or field-level restrictions are intended to hide the edge endpoints.
What does an attacker need to exploit it?
An attacker must be authenticated and have CREATE and UPDATE permission on the affected edge table. They can re-RELATE an existing edge using mismatched endpoints and obtain the stored in/out record IDs from InOverride or OutOverride error messages.
What information can be disclosed?
The issue exposes stored input and output record identifiers for edge endpoints that SELECT policies are meant to hide. The provided information describes disclosure only; it does not indicate integrity or availability impact.
How can I determine whether a deployment may be affected?
Check whether the SurrealDB version is earlier than 4.0.0, and review edge tables for users or roles granted both CREATE and UPDATE permissions. Prioritize tables where endpoint record IDs are concealed by row-level or field-level SELECT restrictions.