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

State
Published
Severity
9.3 Critical
Published
Nov 21, 2026
Updated
Nov 23, 2026
Reserved
Nov 20, 2026

Read the record on cve.org

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.

ProductVersions
surrealdb surrealdb1.0.0 to before 4.0.0 Affected4.0.0 Not Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.