{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32950 exists.","fix":"No fix has been published for CVE-2026-32950 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-32950 is a high-severity SQL injection vulnerability in dataease SQLBot, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32950 and fix it if it is affected.\n\nWhat it is: CVE-2026-32950 is a high-severity SQL injection vulnerability in dataease SQLBot, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32950 exists.\n\nAffected product: dataease SQLBot. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-32950/ (Markdown: https://insights.sbomify.com/CVE-2026-32950/index.md)","id":"CVE-2026-32950","markdown":"https://insights.sbomify.com/CVE-2026-32950/index.md","name":"CVE-2026-32950","record":{"aliases":["GHSA-7hww-8rj5-7rmm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SQLBot data query system","requires_auth":"low_privilege","summary":"Authenticated users can achieve remote code execution and database takeover via SQL injection in the Excel upload endpoint.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sqlbot","vendor":"fit2cloud"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"SQLBot is an intelligent data query system based on a large language model and RAG. Versions prior to 1.7.0 contain a critical SQL Injection vulnerability in the /api/v1/datasource/uploadExcel endpoint that enables Remote Code Execution (RCE), allowing any authenticated user (even the lowest-privileged) to fully compromise the backend server. The root cause is twofold: Excel Sheet names are concatenated directly into PostgreSQL table names without sanitization (datasource.py#L351), and those table names are embedded into COPY SQL statements via f-strings instead of parameterized queries (datasource.py#L385-L388). An attacker can bypass the 31-character Sheet name limit using a two-stage technique—first uploading a normal file whose data rows contain shell commands, then uploading an XML-tampered file whose Sheet name injects a TO PROGRAM 'sh' clause into the SQL. Confirmed impacts include arbitrary command execution as the postgres user (uid=999), sensitive file exfiltration (e.g., /etc/passwd, /etc/shadow), and complete PostgreSQL database takeover. This issue has been fixed in version 1.7.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"SQLBot: RCE via SQL Injection in Excel Upload Endpoint","id":"CVE-2026-32950","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Discourse: Authorization bypass in oneboxer via user-controlled category id","id":"CVE-2026-32951"},"packages":[],"prev":{"headline":"SQLBot: SSRF to Arbitrary File Read (AFR) via Rogue MySQL","id":"CVE-2026-32949"},"products":["SQLBot"],"published":"2026-03-20","related":[{"cvss_score":9.4,"headline":"SQLBot prompt injection allows arbitrary SQL execution and remote code execution","id":"CVE-2026-33324","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":8.7,"headline":"SQLBot: SSRF to Arbitrary File Read (AFR) via Rogue MySQL","id":"CVE-2026-32949","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":8.6,"headline":"SQLBot: Unauthorized Access Vulnerability","id":"CVE-2026-42463","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":8.6,"headline":"SQLBot: Remote Code Execution via Terminology Poisoning","id":"CVE-2026-32622","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":7.7,"headline":"SQLBot uploadExcel Endpoint has Unauthenticated Arbitrary File Upload vulnerability","id":"CVE-2025-69285","kev_date_added":null,"published":"2026-01-21"},{"cvss_score":6.3,"headline":"Dataease SQLBot JWT Token auth.py validateEmbedded signature verification","id":"CVE-2025-15598","kev_date_added":null,"published":"2026-03-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-24","vendors":["dataease"]},"summary":"Authenticated users can achieve remote code execution and database takeover via SQL injection in the Excel upload endpoint.","url":"https://insights.sbomify.com/CVE-2026-32950/"}