SCA: security update for @nocobase/plugin-collection-sql (GHSA-v8vm-cqh8-q87q)

medium Tenable Cloud Security Plugin ID 445438

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-52888)

Solution

Update the @nocobase/plugin-collection-sql library and its related packages to version 2.0.62 or later.

See Also

https://github.com/advisories/GHSA-v8vm-cqh8-q87q

Plugin Details

Severity: Medium

ID: 445438

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/29/2026

Updated: 7/29/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.2

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:N/A:N

CVSS Score Source: CVE-2026-52888

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/28/2026

Vulnerability Publication Date: 7/15/2026

Reference Information

CVE: CVE-2026-52888