← Back to the monthly list · surrealdb →
CVE-2026-134292 surrealdb · surrealdb
9.8 Critical
AI summary
SurrealDB 1.0.0 before 4.0.0 fails to enforce function capability checks in the embedded JavaScript surrealdb.functions bridge, letting authenticated users run built-in functions denied to them in SurrealQL. Critical (CVSS 9.8) authorization bypass; upgrade to 4.0.0 or later.
Official 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.
- Published
- 2026-11-21 17:16 UTC
- Modified
- 2026-11-23 17:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.54% (percentile 39)
- ENISA EUVD
- EUVD-2026-132235
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-862
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5w6j-qm42-4rc2 - www.vulncheck.com
https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-function-capability-bypass-via-javascript-built-in-bridge