SCA: security update for @nocobase/plugin-collection-sql (GHSA-wrwh-c28m-9jjh)

high Tenable Self-Hosted Container Security Plugin ID 440764

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. Prior to version 2.0.39, the checkSQL() validation function that blocks dangerous SQL keywords
(e.g., pg_read_file, LOAD_FILE, dblink) is applied on the collections:create and sqlCollection:execute
endpoints but is entirely missing on the sqlCollection:update endpoint. An attacker with collection
management permissions can create a SQL collection with benign SQL, then update it with arbitrary SQL that
bypasses all validation, and query the collection to execute the injected SQL and exfiltrate data. This
issue has been patched in version 2.0.39. (CVE-2026-41641)

Solution

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

See Also

https://github.com/advisories/GHSA-wrwh-c28m-9jjh

Plugin Details

Severity: High

ID: 440764

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/23/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.5

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

CVSS Score Source: CVE-2026-41641

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/22/2026

Vulnerability Publication Date: 4/22/2026

Reference Information

CVE: CVE-2026-41641