Live threats

All CVEs / surrealdb

CVE-2026-134292surrealdb

Capability Check Bypass in SurrealDB JavaScript Engine

Critical 9.3 No auth needed

Priority
76
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Nov 21, 2026
Updated
Nov 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

SurrealDB versions 1.0.0 through 3.x contains a capability check bypass in its embedded JavaScript engine. Authenticated users denied access to built-in SurrealQL functions can execute them by calling them through the surrealdb.functions bridge from JavaScript, allowing unauthorized access to restricted functions.

Show the original NVD text

SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 4.0.0

Update SurrealDB to version 4.0.0 or later to apply capability checks in the JavaScript bridge.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for surrealdb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

On social media

1 person and 1 post on Bluesky in the last 30 days.

Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky

Official sources

References

Links published by the sources. Open them with care.