CVE-2026-137490
published high CVSS 4.0 · 8.7SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb0 to < 4.0.0 (affected · semver) · 4.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
SurrealDB before 4.0.0 contains an authorization bypass vulnerability that allows restricted subjects to execute arbitrary queries by calling the JavaScript surrealdb.query() bridge. Attackers permitted to run a specific script can bypass the Capabilities::allows_query() gate in the query module to execute unrestricted queries beyond their predefined operations.
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
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/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 | 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-fq69-wr4w-v3gm) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm
- VulnCheck Advisory: SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge
Provider assertions
2VulnCheck · cna
SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1087ae889cc3b23252e26bbdc845f6819f87da780d897e0e12d10191f328a246
- Ingested
- 01 Dec 2026, 20:31:26 UTC
- Source record
- Official CVE record