NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. In 2.0.59 and earlier, NocoBase @nocobase/plugin-collection-sql used the checkSQL() function in packages/plugins/@nocobase/plugin-collection-sql/src/server/utils.ts with an incomplete keyword blacklist that did not restrict PostgreSQL system catalog tables such as pg_shadow, pg_roles, and pg_stat_activity, allowing an admin-role user to read password hashes and database metadata through the SQL Collection feature. This vulnerability is fixed in 2.1.0-alpha.46.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
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.1.0-alpha.46 | 2.1.0-alpha.46 | Patch available | CNA |
| — | @nocobase/plugin-collection-sql (npm) | before 2.0.62 | 2.0.62 | Patch available | GHSA-v8vm-cqh8-q87q |
| — | @nocobase/plugin-collection-sql (npm) | 2.1.0-alpha.1 to before 2.1.0-alpha.46 | 2.1.0-alpha.46 | Patch available | GHSA-v8vm-cqh8-q87q |
| — | @nocobase/plugin-collection-sql (npm) | 2.1.0-beta.1 to before 2.1.0-beta.45 | 2.1.0-beta.45 | Patch available | GHSA-v8vm-cqh8-q87q |
- nocobase Vendornocobase Affected before 2.1.0-alpha.46 Fixed in 2.1.0-alpha.46 Patch available CNA
- @nocobase/plugin-collection-sql (npm) Vendor— Affected before 2.0.62 Fixed in 2.0.62 Patch available GHSA-v8vm-cqh8-q87q
- @nocobase/plugin-collection-sql (npm) Vendor— Affected 2.1.0-alpha.1 to before 2.1.0-alpha.46 Fixed in 2.1.0-alpha.46 Patch available GHSA-v8vm-cqh8-q87q
- @nocobase/plugin-collection-sql (npm) Vendor— Affected 2.1.0-beta.1 to before 2.1.0-beta.45 Fixed in 2.1.0-beta.45 Patch available GHSA-v8vm-cqh8-q87q
Remediation
- Fix · CNA nocobase (nocobase) Fixed in 2.1.0-alpha.46
- Fix · GHSA-v8vm-cqh8-q87q @nocobase/plugin-collection-sql (npm) Fixed in 2.0.62 Advisory →
- Fix · GHSA-v8vm-cqh8-q87q @nocobase/plugin-collection-sql (npm) Fixed in 2.1.0-alpha.46 Advisory →
- Fix · GHSA-v8vm-cqh8-q87q @nocobase/plugin-collection-sql (npm) Fixed in 2.1.0-beta.45 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52888
- 2026-10-03 Alias added: GHSA-v8vm-cqh8-q87q
References
Other 7
- https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q
- https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4
- https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46
- https://github.com/nocobase/nocobase/pull/9683
- https://github.com/nocobase/nocobase/commit/4aecb60d151a9002004dcf984f63d62f17a6cb45
- https://github.com/nocobase/nocobase
- https://github.com/nocobase/nocobase/releases/tag/v2.0.62
More nocobase vulnerabilities
- TI-2026-37983 NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE CVSS 3.1CRITICAL 10.0
- 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-05461 nocobase plugin-workflow-javascript Vm.js createSafeConsole sandbox CVSS 4.0MEDIUM 6.9
- TI-2026-30160 NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call CVSS 3.1HIGH 7.2
Sources
- CVE-2026-52888 · CVE Program
- CVE-2026-52888 · NVD
- FIRST EPSS
- GHSA-v8vm-cqh8-q87q · 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