{"schema":"threatline.record/2","record":{"id":"CVE-2026-112306","aliases":[],"summary":"NocoBase plugin-collection-sql through 2.2.28 SQL Injection via sqlCollection:setFields","details":"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.","categories":["Unclassified"],"product":"nocobase","vendor":"nocobase","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-112306","source_modified_at":"2026-10-19T16:33:44.883Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"nocobase","vendor":"nocobase","versions":[{"version":"0","lessThanOrEqual":"2.2.28","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":8.6,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00311,"percentile":0.22716,"score_date":"2026-10-23"},"published_at":"2026-10-19T15:28:56.450Z","modified_at":"2026-10-19T16:33:44.883Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-112306","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T16:33:44.883Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-112306","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/nocobase/nocobase/issues/10629","tags":["issue-tracking"]},{"source":"CVE List","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"]},{"source":"CVE List","url":"https://github.com/nocobase/nocobase","tags":["product"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-19T15:59:02.659152Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-19T16:33:44.883Z","content_hash":"49d21508ab466eb8fd0a5e94c864fc9eda9f8b8c5644cae621b000f54007bc61"}}
