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

Published Oct 19, 2026
·
Updated

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 pgshadow password hashes or calling pgreadfile.

Affected Software

1 affected component
npm/@nocobase/plugin-collection-sql<=2.2.28

Event History

Oct 19, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker must be a privileged user and hold the collection-sql snippet. The issue is exposed through the sqlCollection:setFields action.

2

What must an attacker do for the injected SQL to run?

The attacker can replace a benign collection query with unvalidated SQL by bypassing checkSQL(). The stored statements are executed when the collection is reloaded.

3

What is the potential impact of a successful exploit?

Injected statements can read pg_shadow password hashes or invoke pg_read_file. The reported impact includes compromise of confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203