CVE-2026-134309
JSON

8.7high

SurrealDB 1.0.0 before 4.0.0 Authorization Bypass via FOR Loop Variable Shadowing

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.72% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
surrealdb surrealdbfrom 1.0.0 before 4.0.0
Not affected: 4.0.0
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134309 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-134309 changed 2026-11-23Public domain