CVE-2026-52888 NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass
MediumCVSS 6.8
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nocobase @nocobase/plugin-collection-sql(npm) | < 2.0.62; >= 2.1.0-alpha.1, < 2.1.0-alpha.46; >= 2.1.0-beta.1, < 2.1.0-beta.45 | 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45 | Fixed |
| nocobase | = < 2.1.0-alpha.46 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nocobase | = < 2.1.0-alpha.46 | No fix listed |
| nocobase @nocobase/plugin-collection-sql(npm) | < 2.0.62 | 2.0.62 |
| nocobase @nocobase/plugin-collection-sql(npm) | >= 2.1.0-alpha.1, < 2.1.0-alpha.46 | 2.1.0-alpha.46 |
| nocobase @nocobase/plugin-collection-sql(npm) | >= 2.1.0-beta.1, < 2.1.0-beta.45 | 2.1.0-beta.45 |
References
- https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q exploit vendor-advisory
- https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4 patch
- https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com
- github.com product