{"answers":{"affected":"1 open source package ship an affected version, including surrealdb.","exploited":"There is no known exploitation of CVE-2026-137490 in the wild and no public exploit code.","exposure":"","fix":"Upgrade surrealdb to 4.0.0 or later.","what":"CVE-2026-137490 is a high-severity vulnerability in surrealdb, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137490 and fix it if it is affected.\n\nWhat it is: CVE-2026-137490 is a high-severity vulnerability in surrealdb, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137490 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- surrealdb (crates.io): affected all versions; fixed in 4.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137490/ (Markdown: https://insights.sbomify.com/CVE-2026-137490/index.md)","id":"CVE-2026-137490","markdown":"https://insights.sbomify.com/CVE-2026-137490/index.md","name":"CVE-2026-137490","record":{"aliases":["GHSA-fq69-wr4w-v3gm","GHSA-qwm5-4hhw-6vmx"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge","id":"CVE-2026-137490","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["4.0.0"],"main_package":"surrealdb","n_packages":1,"n_references":2,"n_vendor_status":0,"next":{"headline":"Budibase before 4.0.0 Query Injection in ArangoDB and Snowflake Datasources","id":"CVE-2026-137491"},"nickname":null,"packages":[{"ecosystem":"crates.io","fixed":["4.0.0"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"surrealdb","purl":"pkg:cargo/surrealdb","purl_source":"cna","scope":"upstream","source":"CVE-2026-137490"}],"prev":{"headline":"SurrealDB before 4.0.0 SSRF and Credential Leakage via ML Model Export","id":"CVE-2026-137489"},"products":["surrealdb"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["surrealdb"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137490/"}