← News

SurrealDB: unauthorized data access

HighAI-generated2026-11-22

CVE
CVE-2026-134309
Severity
High (CVSS 8.8)
Attack conditions
Remotely, over the network · A regular user account is needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 25 November 2026)

Summary

SurrealDB versions before 4.0.0 contain an authorization bypass that lets attackers read, modify or delete data without proper permission.

Details

According to the NVD record, SurrealDB 1.0.0 up to but not including version 4.0.0 has a flaw that bypasses authorization checks. Authenticated users can bind protected internal variables ($access, $auth, $token) as loop variables in FOR statements.

By crafting nested FOR loops with forged values, an attacker can satisfy permission checks and gain unauthorized access to data. This enables reading, changing, or deleting records even when the user only has viewer rights.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 21 November 2026 NVD record published
  • 22 November 2026 This article was written