{"id":"CVE-2026-134292","summary":"SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge","details":"SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.","aliases":["GHSA-5w6j-qm42-4rc2"],"modified":"2026-11-21T18:00:19.007140864Z","published":"2026-11-21T16:35:13.610Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134292.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134292.json"},{"type":"ADVISORY","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5w6j-qm42-4rc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134292"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-function-capability-bypass-via-javascript-built-in-bridge"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/surrealdb/surrealdb","events":[{"introduced":"54aedcdbdc1c50a55dfaec8f206c4c715ad3cb40"},{"fixed":"284fe93afc851c3baec2c262c01289602021a70d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.0.0"},{"fixed":"4.0.0"}]}]}}],"versions":["v3.0.0-beta.1","v3.0.0-alpha.18","v3.0.0-alpha.14","v3.0.0-alpha.12","v3.0.0-alpha.11","v3.0.0-alpha.10","v3.0.0-alpha.9","v3.0.0-alpha.2","v2.0.4","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v2.0.0-beta.3","v2.0.0-beta.2","v2.0.0-beta.1","v2.0.0-alpha.9","v2.0.0-alpha.8","v2.0.0-alpha.7","v2.0.0-alpha.6","v2.0.0-alpha.5","v2.0.0-alpha.4","v2.0.0-alpha.3","v2.0.0-alpha.2","v2.0.0-alpha.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134292.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}