Vulnerability · Published Jul 15, 2026 · Assigned by GitHub_M
CVE-2026-52888NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass
Medium 6.8
In plain English
A medium-severity information exposure in nocobase from nocobase. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nocobase/plugin-collection-sql | 2.0.62 | GHSA-v8vm-cqh8-q87q |
| npm | @nocobase/plugin-collection-sql | 2.1.0-alpha.46 | GHSA-v8vm-cqh8-q87q |
| npm | @nocobase/plugin-collection-sql | 2.1.0-beta.45 | GHSA-v8vm-cqh8-q87q |
Affected products (as reported)
Weakness: CWE-184, CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N