CVE-2026-112306
CVE-2026-112306 · NocoBase plugin-collection-sql through 2.2.28 SQL Injection via sqlCollection:setFields
This page contains facts from public vulnerability sources. Check the original advisory before updating.
NocoBase @nocobase/plugin-collection-sql through 2.2.28 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.
CVSS 8.6 · High · EPSS 0.3%
- Published
- Updated
Affected products and versions
nocobase
- Versions
- ≥ 0, ≤ 2.2.28: Affected (semver)
No fix published
Original sources
- https://github.com/nocobase/nocobase/issues/10629
- https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts#L14-L104
- https://github.com/nocobase/nocobase
- https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields
- https://nvd.nist.gov/vuln/detail/CVE-2026-112306