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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:44:37.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-vx58-fwwq-5g8j
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nocobase nocobase: < 2.0.30; before 2.0.30
- @nocobase/plugin-workflow-sql (npm): before 2.0.30

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nocobase/nocobase/security/advisories/GHSA-vx58-fwwq-5g8j> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/nocobase/nocobase/commit/75da3dddc4aba739c398f7072725dcf7f5487f5c> (patch, web)
- <https://github.com/nocobase/nocobase/releases/tag/v2.0.30> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34825> (advisory)
- <https://github.com/nocobase/nocobase> (package)

## Sources

- CVE List: [CVE-2026-34825](https://www.cve.org/CVERecord?id=CVE-2026-34825), CVE Terms of Use, modified 2026-04-03
- GitHub Advisory Database: [GHSA-vx58-fwwq-5g8j](https://github.com/advisories/GHSA-vx58-fwwq-5g8j), CC-BY-4.0, modified 2026-04-10
- NVD: [CVE-2026-34825](https://nvd.nist.gov/vuln/detail/CVE-2026-34825), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34825 · Whole record: https://cve.day/CVE-2026-34825.json · Rebuilt by cve.day 2026-11-25T22:59:17.844Z
