Vulnerability · Published May 7, 2026 · Assigned by GitHub_M
CVE-2026-41641NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call
High 7.2
In plain English
A high-severity SQL injection in nocobase from nocobase. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nocobase/plugin-collection-sql | 2.0.39 | GHSA-wrwh-c28m-9jjh |
Affected products (as reported)
Weakness: CWE-89, CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/nocobase/nocobase/security/advisories/GHSA-wrwh-c28m-9jjh x_refsource_CONFIRM
- https://github.com/nocobase/nocobase/pull/9134 x_refsource_MISC
- https://github.com/nocobase/nocobase/commit/851aee543efa894142e0f7be03eb55d9cec06a91 x_refsource_MISC
- https://github.com/nocobase/nocobase/releases/tag/v2.0.39 x_refsource_MISC