Moderate severityNVD Advisory· Published Jul 15, 2026· Updated Jul 16, 2026
NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass
CVE-2026-52888
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@nocobase/plugin-collection-sqlnpm | < 2.0.62 | 2.0.62 |
@nocobase/plugin-collection-sqlnpm | >= 2.1.0-alpha.1, < 2.1.0-alpha.46 | 2.1.0-alpha.46 |
@nocobase/plugin-collection-sqlnpm | >= 2.1.0-beta.1, < 2.1.0-beta.45 | 2.1.0-beta.45 |
Affected products
2- Range: <=2.0.59
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-v8vm-cqh8-q87qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-52888ghsaADVISORY
- github.com/nocobase/nocobase/commit/4aecb60d151a9002004dcf984f63d62f17a6cb45ghsaWEB
- github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4ghsax_refsource_MISCWEB
- github.com/nocobase/nocobase/pull/9683ghsaWEB
- github.com/nocobase/nocobase/releases/tag/v2.0.62ghsaWEB
- github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46ghsax_refsource_MISCWEB
- github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87qghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.