ZeroDay Brief
CVE-2026-134309

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 variab…

CVSS
8.8High
Chance of exploitation (EPSS)
0.72%
Published
Nov 21, 2026
In the news
Not yet
More from this vendor

What to do

A serious access control flaw in Surrealdb that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 4.0.0

Affected versions
Surrealdb
1.0.0 to before 4.0.0

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.

CWE-863

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-134309 published (CVSS 8.8) (Nov 21, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Sat, Nov 21, 2026

  1. CVECVE-2026-134309 published (CVSS 8.8)CVE Program · 17:16 UTC

References 3

  • github.com /surrealdb/surrealdb/security/advisories/GHSA-ffvm-mqh3-7986
  • www.vulncheck.com /advisories/surrealdb-1.0.0-before-4.0.0-authorization-bypass-via-for-loop-variable-shadowing
  • github.com /surrealdb/surrealdb/security/advisories/GHSA-ffvm-mqh3-7986

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”