CVE-2026-137490
SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.57% (p41)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- surrealdb surrealdb
- Aliases
- GHSA-fq69-wr4w-v3gm
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
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.
Fixed in
4.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | surrealdb | >=0, <4.0.0 | 4.0.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm vendor-advisory
- https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137490.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137490 advisory