{"answers":{"affected":"2 open source packages ship an affected version, including @nocobase/plugin-workflow-sql. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34825 exists.","fix":"Upgrade @nocobase/plugin-workflow-sql to 2.0.30 or later.","what":"CVE-2026-34825 is a high-severity SQL injection vulnerability in nocobase, published on 2 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34825 and fix it if it is affected.\n\nWhat it is: CVE-2026-34825 is a high-severity SQL injection vulnerability in nocobase, published on 2 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34825 exists.\n\nAffected packages and fixed versions:\n- @nocobase/plugin-workflow-sql (npm): affected all versions; fixed in 2.0.30\n- @nocobase/plugin-workflow-sql (npm): affected all versions; fixed in 2.0.30\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-34825/ (Markdown: https://insights.sbomify.com/CVE-2026-34825/index.md)","id":"CVE-2026-34825","markdown":"https://insights.sbomify.com/CVE-2026-34825/index.md","name":"CVE-2026-34825","record":{"aliases":["GHSA-vx58-fwwq-5g8j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"NocoBase low-code platform","requires_auth":"high_privilege","summary":"Attackers can inject arbitrary SQL via workflow template variables in NocoBase, allowing unauthorized data access or modification.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nocobase","vendor":"nocobase"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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"}],"description":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to version 2.0.30, NocoBase plugin-workflow-sql substitutes template variables directly into raw SQL strings via getParsedValue() without parameterization or escaping. Any user who triggers a workflow containing a SQL node with template variables from user-controlled data can inject arbitrary SQL. This issue has been patched in version 2.0.30.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"NocoBase Has SQL Injection via template variable substitution in workflow SQL node","id":"CVE-2026-34825","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Rack: Unbounded Range Count in get_byte_ranges Enables DoS","id":"CVE-2026-34826"},"packages":[{"ecosystem":"npm","fixed":["2.0.30"],"introduced":["0"],"last_affected":[],"package":"@nocobase/plugin-workflow-sql","purl":null,"source":"GHSA-vx58-fwwq-5g8j"},{"ecosystem":"npm","fixed":["2.0.30"],"introduced":["0"],"last_affected":[],"package":"@nocobase/plugin-workflow-sql","purl":"pkg:npm/%40nocobase/plugin-workflow-sql","source":"GHSA-vx58-fwwq-5g8j"}],"prev":{"headline":"Mesop: Unbounded Thread Creation in WebSocket Handler Leads to Denial of Service","id":"CVE-2026-34824"},"products":["nocobase"],"published":"2026-04-02","related":[{"cvss_score":10,"headline":"NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node","id":"CVE-2026-34156","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":7.5,"headline":"NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading","id":"CVE-2026-41640","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.2,"headline":"NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call","id":"CVE-2026-41641","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":6.4,"headline":"NocoBase has SSRF in Workflow HTTP Request and Custom Request Plugins","id":"CVE-2026-40346","kev_date_added":null,"published":"2026-04-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-03","vendors":["nocobase"]},"summary":"Attackers can inject arbitrary SQL via workflow template variables in NocoBase, allowing unauthorized data access or modification.","url":"https://insights.sbomify.com/CVE-2026-34825/"}