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
| Vendor | Product | Affected 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.
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ffvm-mqh3-7986 Vendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-authorization-... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1343... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134309 Vendor Advisory
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 · NVD
CVE-2026-134309 · MITRE
CVE-2026-134309 · OSV
GHSA-ffvm-mqh3-7986 · GHSA
Track software like this
Free during beta