CVE-2026-41641
HIGH 7.2CVSS 3.1@nocobase/plugin-collection-sql: SQL Validation Bypass Through Missing `checkSQL` Call
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.
- Published
- 7 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-284CWE-89
- Also known as
- GHSA-wrwh-c28m-9jjh
- Sources
- NVDJSONOSV GHSA-wrwh-c28m-9jjhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nocobase | nocobasecpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:* |
< 2.0.39 | 2.0.39 |
| OSV | npm | @nocobase/plugin-collection-sql | < 2.0.39 | 2.0.39 |
References
- https://github.com/nocobase/nocobase/commit/851aee543efa894142e0f7be03eb55d9cec06a91 · Patch, WEB
- https://github.com/nocobase/nocobase/pull/9134 · Issue Tracking, Patch, WEB
- https://github.com/nocobase/nocobase/releases/tag/v2.0.39 · Patch, Product, WEB
- https://github.com/nocobase/nocobase/security/advisories/GHSA-wrwh-c28m-9jjh · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41641 · ADVISORY
- https://github.com/nocobase/nocobase · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2026)