CVE-2026-134292 PUBLISHED

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

Assigner: VulnCheck
Reserved: 20.11.2026 Published: 21.11.2026 Updated: 21.11.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 1.0.0 to 4.0.0 (excl.)
  • Version 4.0.0 is unaffected

Credits

  • ARSB finder

References

Problem Types

  • Missing Authorization CWE