cvelo
P2 · HighCVSS 8.8

SurrealDB 1.0.0 before 4.0.0 Authorization Bypass via FOR Loop Variable Shadowing

  • CVE-2026-134309
  • GHSA-hp3c-r98p-8chh
  • EUVD-2026-132247

Description

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.

Text from the CVE.org record.

Affected

  • surrealdb

    • from 1.0.0 to before 4.0.0
    • 4.0.0: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.