Read the docs

Permission bypass in SurrealDB lets users read restricted records

Priority LOW 31CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.

Summary

SurrealDB from 3.0.0 before 4.0.0 contains a permission bypass that lets authenticated database users with low privileges read restricted records. Calling the GET /export endpoint returns raw records that skip table SELECT predicates and field-level SELECT permissions, exposing other users' rows and hidden fields. The flaw is classified as CWE-863 (incorrect authorization), and the attack is network-reachable with low complexity and requires only low-privilege credentials.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

Description from the CNA

SurrealDB 3.0.0 before 4.0.0 contains a permission bypass vulnerability that allows authenticated low-privilege database users to read restricted records by calling the GET /export endpoint. Attackers can export raw records that skip table SELECT predicates and field-level SELECT permissions, exposing other users' rows and hidden fields.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00375 23rd percentileScored 2026-11-30
Fix Fixed surrealdb (surrealdb): 4.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealdb3.0.0 to before 4.0.04.0.0Patch availableCNA
  • surrealdb Vendorsurrealdb Affected 3.0.0 to before 4.0.0 Fixed in 4.0.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*——surrealdb
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* Versions — — ·surrealdb

Remediation

Upgrade SurrealDB to version 4.0.0, which is the first fixed version. The sources do not list a vendor advisory for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

  • Fix · CNA surrealdb (surrealdb) Fixed in 4.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    surrealdb 4.0.0

    16 records Highest priority Priority HIGH 1 HIGH, 9 MEDIUM, 6 LOW

    Other records, highest priority first

    • TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket UpgradePriority HIGH 77
    • TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the serverPriority MEDIUM 64
    • TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errorsPriority MEDIUM 64

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134307
  2. 2026-11-21 Alias added: GHSA-3wfp-cfg4-qr44
  3. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket Upgrade CVSS 4.0HIGH 8.7
  • TI-2026-84301 MCP session hijack in SurrealDB via BoundSubject collision CVSS 4.0HIGH 8.6
  • TI-2026-96306 Out-of-bounds read in SurrealKV InternalKeyRef decoder CVSS 4.0HIGH 8.3
  • TI-2026-96310 Authorization bypass in SurrealDB via COMPUTED field permissions CVSS 4.0HIGH 7.1
  • TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the server CVSS 4.0HIGH 7.1
  • TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errors CVSS 4.0HIGH 7.1
See all 97 →

Sources