{"id":"CVE-2026-112306","aliases":["CVE-2026-112306"],"related":[],"kind":"vulnerability","state":"published","title":"NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-19T15:28:56.450Z","modified":"2026-11-13T15:17:30.583Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.2.46","status":"affected"}],"vendor":"nocobase","product":"nocobase","repo":"https://github.com/nocobase/nocobase","source":"cvelist"}],"references":[{"url":"https://github.com/nocobase/nocobase/issues/10629","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nocobase/nocobase","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen","Zachariah Mithani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-19T15:59:02.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-112306","url":"https://www.cve.org/CVERecord?id=CVE-2026-112306","licence":"CVE Terms of Use","modified":"2026-11-13T15:12:37.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-112306","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112306","licence":"Public domain","modified":"2026-11-13T15:17:30.583Z"}],"updatedAt":"2026-11-25T22:59:45.521Z","epss":{"score":0.00547,"percentile":0.39439,"date":"2026-11-30T12:00:22.000Z"}}