Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.4

CVE-2026-134309: SurrealDB lets signed‑in users bypass data permissions

CVE-2026-134309 · published 1 day ago
Summary

Versions of SurrealDB from 1.0.0 up to but not including 4.0.0 let a user who is already logged in replace internal security variables with their own values. This can let them read, change or delete data they should not have access to. Upgrade SurrealDB to version 4.0.0 or later, and apply any available security patches as soon as possible.

What to do
  • Update surrealdb surrealdb to version 4.0.0 or later.
Affected software
VendorProductAffected versions
surrealdb surrealdb < 4.0.0
Original advisory text
SurrealDB 1.0.0 before 4.0.0 Authorization Bypass via FOR Loop Variable Shadowing
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
9.4 Critical
Type
CWE-863Incorrect Authorization
Timeline
Published21 Nov 2026
Updated21 Nov 2026
First seen21 Nov 2026
Sources
CVE-2026-134309 · MITRE
Track software like this
Free during beta