medium6.8
CVE-2026-52888
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @nocobase/plugin-collection-sql | < 2.0.62 | 2.0.62 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-v8vm-cqh8-q87q
- https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q
- https://nvd.nist.gov/vuln/detail/CVE-2026-52888
- https://github.com/nocobase/nocobase/pull/9683
- https://github.com/nocobase/nocobase/commit/4aecb60d151a9002004dcf984f63d62f17a6cb45
- https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4
- https://github.com/nocobase/nocobase/releases/tag/v2.0.62
- https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46