# CVE-2026-134292: SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-11-21T16:35:13.610Z
- Modified: 2026-11-23T17:17:34.337Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 1.0.0 before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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-capability-bypass-via-javascript-built-in-bridge> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134292](https://www.cve.org/CVERecord?id=CVE-2026-134292), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134292](https://nvd.nist.gov/vuln/detail/CVE-2026-134292), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134292 · Whole record: https://cve.day/CVE-2026-134292.json · Rebuilt by cve.day 2026-11-25T22:59:52.536Z
