CVE-2026-134292
published critical CVSS 4.0 · 9.3SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb1.0.0 to < 4.0.0 (affected · semver) · 4.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 1.0.0 to < 4.0.0 (affected · semver)4.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
2- GitHub Security Advisory (GHSA-5w6j-qm42-4rc2) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5w6j-qm42-4rc2
- VulnCheck Advisory: SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-function-capability-bypass-via-javascript-built-in-bridge
Provider assertions
2VulnCheck · cna
SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3aa08d45b1926b479c0ec29ab11b1eedb251403d691de7856386aca732ae6f10
- Ingested
- 23 Nov 2026, 16:40:44 UTC
- Source record
- Official CVE record