# CVE-2026-137490: SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- 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.57%, higher than 41% of CVEs (2026-11-30)
- Published: 2026-11-26T16:01:14.449Z
- Modified: 2026-11-26T16:17:59.457Z
- Weaknesses: CWE-862
- Assigned by: 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.

(As written by CVE List.)

## Affected

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

## Every score

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

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

## Sources

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

---

Page: https://cve.day/CVE-2026-137490 · Whole record: https://cve.day/CVE-2026-137490.json · Rebuilt by cve.day 2026-11-26T16:32:16.284Z
