{"id":"CVE-2026-137490","aliases":[],"cve":{"records":[{"id":"CVE-2026-137490","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-26T12:40:39.209Z","published":"2026-11-26T16:01:14.449Z","modified":"2026-11-26T16:01:14.449Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-11-26T16:01:14.449Z"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm","tags":["vendor-advisory"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-862","description":"Missing Authorization","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"4.0.0"}]}]}]}],"prioritization":[]},"title":"SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge","titleSource":"VulnCheck","descriptionSource":"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.","score":8.8,"severity":"high","published":"2026-11-26T16:01:14.449Z","modified":"2026-11-26T16:01:14.449Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"surrealdb","name":"surrealdb","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"4.0.0","versionType":"semver"},{"version":"4.0.0","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb","packageIdentity":{"ecosystem":"crates.io","name":"surrealdb"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-137490"}],"remediation":[],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fq69-wr4w-v3gm","https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-authorization-bypass-via-javascript-surrealdb-query-bridge"],"sources":[{"name":"CVE","id":"CVE-2026-137490","modified":"2026-11-26T16:01:14.449Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137490"}],"assessments":[{"source":"VulnCheck","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","score":8.7},{"source":"VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"sourceAffected":[],"observedAt":"2026-11-26T16:06:40.190Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"refresh-failed","attemptedAt":"2026-11-26T17:05:31.739Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-26T17:05:32.661Z","attemptedAt":"2026-11-26T17:05:32.661Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-26T17:05:32.302Z","attemptedAt":"2026-11-26T17:05:32.302Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-26T17:05:31.376Z","attemptedAt":"2026-11-26T17:05:31.376Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-136584","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-136584","modified":"Nov 26, 2026, 4:01:14 PM","score":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","checkedAt":"2026-11-26T17:05:32.302Z"}],"aiSummary":{"text":"SurrealDB before 4.0.0 has an authorization bypass vulnerability, allowing restricted subjects to execute arbitrary queries via the JavaScript surrealdb.query() bridge. Attackers with script execution permission can bypass query restrictions.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-26T16:16:05.302Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-137490"}]}}