Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-134292: SurrealDB allows unauthorized function execution via JavaScript
CVE-2026-134292 · published 1 day ago
Summary
Versions of SurrealDB from 1.0.0 up to but not including 4.0.0 let a logged‑in user run built‑in database functions they are not allowed to use by calling them through the embedded JavaScript bridge. This can let an attacker perform actions such as data manipulation or query execution that should be blocked. Upgrade to version 4.0.0 or later, or apply any available patches, and restrict use of the JavaScript engine to trusted users.
What to do
- Update surrealdb surrealdb to version 4.0.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| surrealdb | surrealdb | < 4.0.0 |
Original advisory text
SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge
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.
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5w6j-qm42-4rc2 Vendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-function-capab... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1342... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134292 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Severity
9.9
Critical
Type
CWE-862Missing Authorization
Timeline
Published21 Nov 2026
Updated21 Nov 2026
First seen21 Nov 2026
Sources
CVE-2026-134292 · NVD
CVE-2026-134292 · MITRE
CVE-2026-134292 · OSV
GHSA-5w6j-qm42-4rc2 · GHSA
Track software like this
Free during beta