← VULNERABILITIES

CVE-2026-134292

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

Critical · 9.3Fix available
CVSS
9.3
EPSS
0.54% (p39)
Published
2026-11-21
Age
8d old
Modified
2026-11-23
Product
surrealdb surrealdb
Aliases
GHSA-5w6j-qm42-4rc2, EUVD-2026-132235

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

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.

Fixed in

4.0.0

Affected packages

EcosystemPackageRangeFixed
vendorsurrealdb>=1.0.0, <4.0.04.0.0

Sources

  • NVD · first seen 8d ago · NVD terms of use
  • OSV · first seen 8d ago · CC-BY 4.0
  • ENISA EUVD · first seen 8d ago · ENISA
  • CVE List · first seen 8d ago · CVE Terms of Use

References

JSON