cvelo
P2 · HighCVSS 9.8

SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge

  • CVE-2026-134292
  • GHSA-cr6h-wmmv-79vp
  • EUVD-2026-132235

Description

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.

Text from the CVE.org record.

Affected

  • surrealdb

    • from 1.0.0 to before 4.0.0
    • 4.0.0: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.