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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-184, CWE-200
- **Aliases:** GHSA-v8vm-cqh8-q87q
- **Published:** 2026-07-15T20:13:52.669Z
- **Modified:** 2026-07-28T21:01:37.678Z

## Who should check

- Projects that depend on npm package @nocobase/plugin-collection-sql (\< 2.0.62)
- Anyone running nocobase \< 2.1.0-alpha.46

## 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 and fixed versions

- npm `@nocobase/plugin-collection-sql`: affected \< 2.0.62; fixed 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45 (osv)
- nocobase: \< 2.1.0-alpha.46 (cvelist)

## Mitigation

- Upgrade @nocobase/plugin-collection-sql to one of 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52888. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52888.md
Affected: @nocobase/plugin-collection-sql < 2.0.62
Fixed in: 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45

Steps:
1. Search this machine and project for @nocobase/plugin-collection-sql (npm), nocobase: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52888 being exploited?

There is no confirmed exploitation: CVE-2026-52888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52888?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-52888?

@nocobase/plugin-collection-sql \< 2.0.62.

### Is there a fix for CVE-2026-52888?

Yes. Fixed in 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45. Upgrade @nocobase/plugin-collection-sql to one of 2.0.62, 2.1.0-alpha.46, 2.1.0-beta.45 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-52888?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/nocobase/nocobase/security/advisories/GHSA-v8vm-cqh8-q87q>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-52888>
- patch: <https://github.com/nocobase/nocobase/commit/87c548969ce9258dd7f0d9571c9453ae10bc3fc4>
- patch: <https://github.com/nocobase/nocobase/pull/9683>
- patch: <https://github.com/nocobase/nocobase/commit/4aecb60d151a9002004dcf984f63d62f17a6cb45>
- other: <https://github.com/nocobase/nocobase/releases/tag/v2.1.0-alpha.46>
- other: <https://github.com/nocobase/nocobase>
- other: <https://github.com/nocobase/nocobase/releases/tag/v2.0.62>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52888>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v8vm-cqh8-q87q> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-52888> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52888>
