NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284 and CWE-89.
Summary
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to version 2.0.39, the checkSQL() validation function that blocks dangerous SQL keywords (e.g., pg_read_file, LOAD_FILE, dblink) is applied on the collections:create and sqlCollection:execute endpoints but is entirely missing on the sqlCollection:update endpoint. An attacker with collection management permissions can create a SQL collection with benign SQL, then update it with arbitrary SQL that bypasses all validation, and query the collection to execute the injected SQL and exfiltrate data. This issue has been patched in version 2.0.39.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nocobase | nocobase | before 2.0.39 | 2.0.39 | Patch available | CNA |
| — | @nocobase/plugin-collection-sql (npm) | before 2.0.39 | 2.0.39 | Patch available | GHSA-wrwh-c28m-9jjh |
- nocobase Vendornocobase Affected before 2.0.39 Fixed in 2.0.39 Patch available CNA
- @nocobase/plugin-collection-sql (npm) Vendor— Affected before 2.0.39 Fixed in 2.0.39 Patch available GHSA-wrwh-c28m-9jjh
Remediation
- Fix · CNA nocobase (nocobase) Fixed in 2.0.39
- Fix · GHSA-wrwh-c28m-9jjh @nocobase/plugin-collection-sql (npm) Fixed in 2.0.39 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41641
- 2026-10-03 Alias added: GHSA-wrwh-c28m-9jjh
References
Patch 3
More Nocobase vulnerabilities
- TI-2026-26457 NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node CVSS 3.1CRITICAL 10.0
- TI-2026-27069 NocoBase Has SQL Injection via template variable substitution in workflow SQL node CVSS 4.0HIGH 8.5
- TI-2026-30159 NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading CVSS 3.1HIGH 8.8
- TI-2026-29121 NocoBase has SSRF in Workflow HTTP Request and Custom Request Plugins CVSS 4.0MEDIUM 6.4
Sources
- CVE-2026-41641 · CVE Program
- CVE-2026-41641 · NVD
- FIRST EPSS
- GHSA-wrwh-c28m-9jjh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences