7.2High

CVE-2026-112306NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields

nocobase nocobase Published: (1 month ago)

Description

NocoBase @nocobase/plugin-collection-sql through 2.2.46 contains an SQL injection vulnerability that allows privileged users to store unvalidated SQL by bypassing checkSQL() through the sqlCollection:setFields action. Attackers holding the collection-sql snippet can replace a benign collection query with dangerous statements executed on reload, reading pg_shadow password hashes or calling pg_read_file.

Weakness (CWE): CWE-89

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nocobase nocobase ≤ 2.2.46

References and patches