{"id":"CVE-2026-137490","aliases":["GHSA-fq69-wr4w-v3gm"],"title":"SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge","originalDescription":"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.","severity":{"cvss":8.7,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00566,"percentile":0.40802},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"surrealdb","range":">=0, <4.0.0","fixed":"4.0.0"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm","type":"vendor-advisory"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137490.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137490","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-26T16:47:45.974Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137490","license":"NVD terms of use","firstSeenAt":"2026-11-26T16:47:45.974Z"},{"name":"osv","at":"2026-11-27T21:58:05.087Z","url":"https://osv.dev/vulnerability/CVE-2026-137490","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T18:27:33.070Z"},{"name":"cvelistV5","at":"2026-11-28T17:43:24.377Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137490","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T16:12:13.488Z"}],"firstSeenAt":"2026-11-26T16:12:13.488Z","publishedAt":"2026-11-26T16:01:14.449Z","modifiedAt":"2026-11-27T21:00:45.904Z"}