Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

SurrealDB JavaScript Function Capability Bypass (CVE-2026-134292)

CVE-2026-134292 is a function authorization bypass in SurrealDB's embedded JavaScript scripting engine.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-134292
Vendor
SurrealDB
Affected Product
SurrealDB
Exploitation
Not confirmed
Published
2026-11-21

SurrealDB says its JavaScript bridge calls internal built-in function dispatchers without the capability checks used by SurrealQL. An authenticated user denied a built-in function in SurrealQL can still reach it through the script bridge.The CVE Program lists SurrealDB versions 1.0.0 through versions before 4.0.0 as affected. SurrealDB identifies 4.0.0 as the patched release. The reported impact is bypass of function restrictions in scripted execution, not a documented compromise of a particular deployment.

What it allows

How Does CVE-2026-134292 Bypass Function Controls?

SurrealDB says ordinary SurrealQL execution checks whether a built-in function is allowed. The embedded JavaScript bridge takes a different route into the internal function dispatchers. That route lacked the same capability check, so a denied function could run from a script.

The relevant boundary is a deployment that permits an authenticated user to execute embedded JavaScript but denies that user selected built-in functions. The advisory describes authorization bypass within that scope. It does not document a separate route to authentication bypass or quantify a data-loss outcome.

How Should Teams Read the Exploitation Evidence?

The CVE Program describes the access condition as an authenticated user with a denied function. Its CVSS 3.1 and 4.0 vectors both mark privileges required as none. This discrepancy warrants reviewing the actual scripting permissions and function policy in each deployment.

CISA's KEV catalog version 2026.11.20 did not list CVE-2026-134292. That catalog status does not establish whether a particular instance was attacked. Prioritize instances that combine script access and restricted built-in functions; see the vulnerability prioritization glossary entry for context.

See the vulnerability intelligence platform for product context. Review script execution and function-capability settings before assigning exposure, because the record does not enumerate deployment configurations.

Who is affected

Which SurrealDB Versions Are Affected by CVE-2026-134292?

The CVE Program's range starts at SurrealDB 1.0.0 and ends immediately before 4.0.0. SurrealDB's advisory names all versions below 4.0.0 and says version 4.0.0 and later are unaffected. The record identifies the SurrealDB Rust package; check the version actually running in each deployed instance.

For practical exposure, review whether users can execute embedded JavaScript functions while built-in functions are denied by policy. The advisory's bypass depends on that script-to-function path. Record the effective permissions alongside the running version, rather than treating the CVSS vector as a deployment test.

What Should Administrators Fix and Verify?

Upgrade affected SurrealDB instances to 4.0.0 or later, following SurrealDB's patched-version guidance. After deployment, verify the version of every running instance and check the function policy that prompted the restriction. The fix adds a capability check to the JavaScript bridge.

Until the upgrade is complete, restrict embedded JavaScript execution for users whose built-in function permissions must be enforced. This is our defensive containment recommendation from the stated bypass mechanism. Document the change through the patch management process.

Timeline

  1. 2026-11-03

    SurrealDB published GHSA-5w6j-qm42-4rc2, describing the JavaScript bridge bypass and version 4.0.0 patch.

  2. 2026-11-20

    CISA KEV catalog version 2026.11.20 did not list this CVE.

  3. 2026-11-21

    The CVE Program published CVE-2026-134292, with affected versions from 1.0.0 to before 4.0.0.

What to do

  1. Inventory running versions

    Identify every SurrealDB instance and confirm its running version. The CVE Program lists 1.0.0 through versions before 4.0.0 as affected.

  2. Review script and function permissions

    Identify users allowed to run embedded JavaScript while selected built-in functions are denied. Prioritize those instances for the patch.

  3. Upgrade SurrealDB

    Move affected deployments to SurrealDB 4.0.0 or later. Until then, restrict script execution for users whose built-in function permissions must hold.

  4. Verify the running fix

    Confirm that every updated instance runs 4.0.0 or later. Recheck script access and the intended built-in function policy after deployment.

What Brandefense can do

Frequently Asked Questions

What version fixes CVE-2026-134292?

SurrealDB says version 4.0.0 includes the patch, and versions 4.0.0 and later are unaffected. Verify the version actually running after the upgrade.

Who can use the bypass described by SurrealDB?

The advisory describes a user who can execute embedded JavaScript but is denied a built-in function in SurrealQL. That user can reach the denied function through the script bridge.

Why does the CVSS vector say privileges are not required?

The VulnCheck CNA record scores both CVSS 3.1 and 4.0 with privileges required set to none. Its narrative nevertheless describes an authenticated user, so check the deployment's actual permissions.

Does the CISA KEV catalog list this CVE?

CISA KEV catalog version 2026.11.20 did not list CVE-2026-134292. Catalogue absence is not a verdict on an individual deployment.

Sources

  1. JavaScript Built-in Bridge Bypasses Function Capability EnforcementSurrealDB
  2. CVE-2026-134292 RecordCVE Program
  3. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →