# CVE-2026-34825: NocoBase SQL injection in workflow SQL node

Source: https://junglewise.ai/threats/cve-2026-34825-nocobase-sql-injection-in-workflow-sql-node  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-02. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-34825 · Severity: medium · CVSS 6.5 · Published 2026-04-02

NocoBase is a platform used to build business applications and enterprise software without writing code. A security flaw in its workflow engine allows users to execute unauthorized database commands by manipulating data that triggers automated tasks. This could lead to an attacker viewing sensitive customer data, modifying records, or gaining full control over the application's database.

Technologies: [Nocobase](https://junglewise.ai/threats/technologies/nocobase). Vendors: [NocoBase](https://junglewise.ai/threats/vendors/nocobase), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-34825 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34825 being exploited in the wild.

**How severe is CVE-2026-34825?** Medium severity, with a CVSS score of 6.5, published 2 April 2026.

**Which products and versions are affected?** NocoBase Plugin-Workflow-Sql <= 2.0.29; @nocobase/plugin-workflow-sql (npm) <= 2.0.29, SEMVER:introduced=0,fixed=2.0.30.

**Is there a fix for CVE-2026-34825?** Yes. @nocobase/plugin-workflow-sql (npm): upgrade to 2.0.30 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34825 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-34825?** Check whether you run Nocobase, NocoBase Plugin-Workflow-Sql, NocoBase Workflow SQL Plugin or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @nocobase/plugin-workflow-sql (npm): upgrade to 2.0.30 or later

  ```sh
  npm install @nocobase/plugin-workflow-sql@2.0.30
  ```


## Technical details

A SQL injection vulnerability exists in the NocoBase `plugin-workflow-sql` package prior to version 2.0.30. The `getParsedValue()` function in `SQLInstruction.ts` performs direct string substitution of template variables into raw SQL queries without parameterization or escaping. An attacker with the ability to trigger a workflow (e.g., by creating a record that initiates a 'collection-trigger' workflow) can inject arbitrary SQL commands if the workflow contains a SQL node using user-controlled data. This can result in full database read/write access. The issue is fixed in version 2.0.30 by implementing parameterized queries.

## Affected products

- NocoBase nocobase/plugin-workflow-sql < 2.0.30

## Identifiers

- CVE-2026-34825
- GHSA-vx58-fwwq-5g8j

## Timeline

- 2026-03-30: patched: Fixed in version 2.0.30 via commit 75da3dd
- 2026-04-01: advisory: GitHub Security Advisory GHSA-vx58-fwwq-5g8j published
- 2026-04-02: disclosed: CVE-2026-34825 published

## References

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

## Related threats

- [NocoBase server-side request forgery in customRequests:send](https://junglewise.ai/threats/cve-2026-79914-nocobase-is-an-ai-powered-no-code-low-code-platform-for-building)
- [NocoBase SQL injection in checkSQL function](https://junglewise.ai/threats/cve-2026-88402-a-sql-injection-vulnerability-in-the-checksql-function-of)
- [NocoBase cross-site scripting in rich text field renderer](https://junglewise.ai/threats/cve-2026-84701-nocobase-cross-site-scripting-in-rich-text-field-renderer)
- [NocoBase arbitrary file write and local file inclusion leading to remote code execution](https://junglewise.ai/threats/nocobase-arbitrary-file-write-and-local-file-inclusion-leading-to-b8ec6b22)
- [NocoBase sensitive data exposure via SQL blacklist bypass in SQL Collection](https://junglewise.ai/threats/cve-2026-52888-nocobase-sensitive-data-exposure-via-sql-blacklist-bypass-in-sql)
