{"id":"CVE-2026-112306","published":"2026-10-19T15:28:56Z","modified":"2026-11-13T15:12:37Z","title":"NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields","vendor":"nocobase","product":"nocobase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00311,"percentile":0.24543,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/nocobase/nocobase/issues/10629","tags":["issue-tracking"]},{"url":"https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts#L14-L104","tags":["technical-description"]},{"url":"https://github.com/nocobase/nocobase","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields","tags":["third-party-advisory"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.91},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"nocobase","affectedVersions":[{"vendor":"nocobase","product":"nocobase","versions":["<= 2.2.46"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-19T15:59:02.659152Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-104398","exploited":false,"provenance":"source"}}