{"answers":{"affected":"1 open source package ship an affected version, including surrealdb.","exploited":"There is no known exploitation of CVE-2026-134293 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade surrealdb to 4.0.0 or later.","what":"CVE-2026-134293 is a high-severity SQL injection vulnerability in surrealdb, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-134293 and fix it if it is affected.\n\nWhat it is: CVE-2026-134293 is a high-severity SQL injection vulnerability in surrealdb, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-134293 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- surrealdb (crates.io): affected from 3.1.0; 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-134293/ (Markdown: https://insights.sbomify.com/CVE-2026-134293/index.md)","id":"CVE-2026-134293","markdown":"https://insights.sbomify.com/CVE-2026-134293/index.md","name":"CVE-2026-134293","record":{"aliases":["GHSA-c88v-jgq3-49rc","GHSA-cr79-9p8r-p5wx"],"analysis":{"component_type":"database","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"multi-model database","requires_auth":"none","requires_specific_call":false,"summary":"Attackers can inject SurrealQL via MCP tool arguments with escaped backticks in SurrealDB; operators exposing its MCP server should care.","user_interaction":"not_required","vuln_class":"sql_injection","vulnerable_functions":["consume_backtick_ident","validate_identifier"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SurrealDB 3.1.0 before 4.0.0 contains an SQL injection vulnerability in its Model Context Protocol (MCP) server because the identifier validator (consume_backtick_ident and validate_identifier) treats the first backtick as the closing delimiter, ignoring escape characters that the SurrealQL parser honors. Attackers can supply MCP tool arguments containing an escaped backtick to break out of the quoted identifier and execute arbitrary SurrealQL statements.","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 3.1.0 before 4.0.0 SQL Injection via MCP Tool Identifier Escaped Backticks","id":"CVE-2026-134293","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"sql_injection","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":"SurrealDB 3.0.0 before 4.0.0 Path Traversal via Windows Backslashes in Bucket Keys","id":"CVE-2026-134294"},"nickname":null,"packages":[{"ecosystem":"crates.io","fixed":["4.0.0"],"introduced":["3.1.0"],"last_affected":[],"name_kind":null,"package":"surrealdb","purl":"pkg:cargo/surrealdb","purl_source":"cna","scope":"upstream","source":"CVE-2026-134293"}],"prev":{"headline":"SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge","id":"CVE-2026-134292"},"products":["surrealdb"],"published":"2026-11-21","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[],"vendors":["surrealdb"]},"summary":"Attackers can inject SurrealQL via MCP tool arguments with escaped backticks in SurrealDB; operators exposing its MCP server should care.","url":"https://insights.sbomify.com/CVE-2026-134293/"}