CVE-2026-52888
MEDIUM 6.8CVSS 3.1NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass
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.
- Published
- 15 Jul 2026
- Last modified
- 28 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-184CWE-200
- Also known as
- GHSA-v8vm-cqh8-q87q
- Sources
- NVDJSONOSV GHSA-v8vm-cqh8-q87qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @nocobase/plugin-collection-sql | < 2.0.62 | 2.0.62 |
| OSV | npm | @nocobase/plugin-collection-sql | >= 2.1.0-alpha.1, < 2.1.0-alpha.46 | 2.1.0-alpha.46 |
| OSV | npm | @nocobase/plugin-collection-sql | >= 2.1.0-beta.1, < 2.1.0-beta.45 | 2.1.0-beta.45 |
References
- https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4 · WEB
- https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46 · WEB
- https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-52888 · ADVISORY
- https://github.com/nocobase/nocobase/pull/9683 · WEB
- https://github.com/nocobase/nocobase/commit/4aecb60d151a9002004dcf984f63d62f17a6cb45 · WEB
- https://github.com/nocobase/nocobase · PACKAGE
- https://github.com/nocobase/nocobase/releases/tag/v2.0.62 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Jul 2026)