CVE-2026-134292 SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge
CriticalCVSS 9.3
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 1.0.0, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 1.0.0, < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-5w6j-qm42-4rc2) vendor-advisory
- VulnCheck Advisory: SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge third-party-advisory
- ENISA EUVD EUVD-2026-132235 third-party-advisory
- nvd.nist.gov