Quick answers
- Is CVE-2026-52888 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-52888 being exploited in the wild.
- How severe is CVE-2026-52888?
- Medium severity, with a CVSS score of 6.8, published 15 July 2026.
- Which products and versions are affected?
- Nocobase <= 2.0.59; NocoBase Plugin-Collection-Sql < 2.0.62, >= 2.1.0-alpha.1, < 2.1.0-alpha.46, >= 2.1.0-beta.1, < 2.1.0-beta.45; @nocobase/plugin-collection-sql (npm) SEMVER:introduced=0,fixed=2.0.62.
- Is there a fix for CVE-2026-52888?
- Yes. @nocobase/plugin-collection-sql (npm): upgrade to 2.0.62 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-52888 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-52888?
- Check whether you run Nocobase, NocoBase Plugin-Collection-Sql or @nocobase/plugin-collection-sql (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @nocobase/plugin-collection-sql (npm): upgrade to 2.0.62 or later
npm install @nocobase/plugin-collection-sql@2.0.62
Technical details
The `checkSQL()` function in `plugin-collection-sql` utilizes a blacklist-based approach to filter dangerous SQL commands. This blacklist is insufficient as it fails to restrict access to PostgreSQL system catalog tables (e.g., `pg_shadow`, `pg_roles`, `pg_stat_activity`) and application-level sensitive tables like `users`. An authenticated attacker with the `admin` role can execute arbitrary `SELECT` queries via the `/api/sqlCollection:execute` endpoint to dump database password hashes and enumerate the full schema. This represents a security boundary violation (Scope Change) from application-level administration to database-level access. Patches are available in versions 2.0.62, 2.1.0-alpha.46, and 2.1.0-beta.45.
Affected products
- NocoBase @nocobase/plugin-collection-sql < 2.0.62, >= 2.1.0-alpha.1, < 2.1.0-alpha.46, >= 2.1.0-beta.1, < 2.1.0-beta.45
Identifiers
- CVE-2026-52888
- GHSA-v8vm-cqh8-q87q
Timeline
- 2026-05-29: disclosed: Vulnerability discovered and reported to maintainers.
- 2026-06-08: advisory: GitHub Advisory published.
- 2026-07-28: patched: Advisory updated with patched version information.