CVE-2026-112306 PUBLISHED

NocoBase plugin-collection-sql through 2.2.28 SQL Injection via sqlCollection:setFields

Assigner: VulnCheck
Reserved: 19.10.2026 Published: 19.10.2026 Updated: 19.10.2026

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.

Metrics

CVSS 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
CVSS Score: 8.6

Product Status

Vendor nocobase
Product nocobase
Versions Default: unaffected
  • affected from 0 to 2.2.28 (incl.)

Credits

  • George Chen finder
  • Zachariah Mithani finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE