freenode

← CVE tracker

CVE-2026-134309

SurrealDB 1.0.0 before 4.0.0 Authorization Bypass via FOR Loop Variable Shadowing

Severity
high CVSS 8.7 (v4.0)
Affects
surrealdb
Weakness
CWE-863: Incorrect Authorization
Published
21 November 2026 by VulnCheck
SurrealDB 1.0.0 before 4.0.0 contains an authorization bypass vulnerability that allows authenticated users to shadow protected $access, $auth, and $token variables by binding them as FOR loop variables. Attackers can wrap queries in nested FOR loops with forged values to satisfy table permission predicates, enabling unauthorized reads, modifications, or deletions as a VIEWER.

Our coverage

We have not written about this one. Know why it matters? Send a tip.