CVE-2026-112306 · UNKNOWN
Summary: NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields
EPSS: 0.3% probability of exploitation in the next 30 days (percentile 24.3).
Details
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.
Severity
UNKNOWN — vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected packages
- GIT github.com/nocobase/nocobase [0 – 4623015250754eca54bd28c95f2a1969b5196a9d]
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112306.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-112306
- https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields
- https://github.com/nocobase/nocobase/issues/10629
- https://github.com/nocobase/nocobase
- https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts#L14-L104