---
title: "CVE-2026-134309: SurrealDB - Authorization Bypass"
description: "SurrealDB < 4.0.0 contains an authorization bypass caused by binding protected variables as FOR loop variables, letting authenticated users bypass permissions to read, modify, or delete data as a VIEWER, exploit requires authentication."
url: https://panop.io/threat-heartbeat/CVE-2026-134309/
---

# CVE-2026-134309 SurrealDB - Authorization Bypass

SurrealDB < 4.0.0 contains an authorization bypass caused by binding protected variables as FOR loop variables, letting authenticated users bypass permissions to read, modify, or delete data as a VIEWER, exploit requires authentication.

CVSS base score 8.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.57% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-134309)

## Details

Type

Authorization Bypass

Impact

Broken Access Control, Data Tampering, Information Disclosure

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

21 November 2026

Updated

23 November 2026

Weakness

[CWE-863](https://cwe.mitre.org/data/definitions/863.html)

## Vendor fix

Update to version 4.0.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-134309](https://nvd.nist.gov/vuln/detail/CVE-2026-134309)
- [https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ffvm-mqh3-7986](https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ffvm-mqh3-7986)
- [https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-authorization-bypass-via-for-loop-variable-shadowing](https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-authorization-bypass-via-for-loop-variable-shadowing)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
