# CVE-2026-112306: NocoBase plugin-collection-sql SQL injection in setFields action

Source: https://junglewise.ai/threats/cve-2026-112306-nocobase-nocobase-plugin-collection-sql-through-2-2-28-contains  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-19. Updated: 2026-10-19  
License: CC BY 4.0 with a link back

CVE-2026-112306 · Severity: high · CVSS 7.2 · Published 2026-10-19

NocoBase is a no-code platform for building business applications. The SQL collection plugin contains a vulnerability that allows users with collection-sql permission to inject malicious SQL queries, bypassing security checks. An attacker could execute arbitrary database commands such as reading password hashes or accessing sensitive files on the database server.

Vendors: [NocoBase](https://junglewise.ai/threats/vendors/nocobase).

## Quick answers

**Is CVE-2026-112306 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-112306 being exploited in the wild.

**How severe is CVE-2026-112306?** High severity, with a CVSS score of 7.2, published 19 October 2026.

**Which products and versions are affected?** NocoBase @Nocobase/Plugin-Collection-Sql through 2.2.28.

**Is there a fix for CVE-2026-112306?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-112306 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-112306?** Check whether you run NocoBase @Nocobase/Plugin-Collection-Sql at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The @nocobase/plugin-collection-sql plugin fails to properly validate SQL in the sqlCollection:setFields action, allowing privileged users to bypass the checkSQL() validation function and inject arbitrary SQL. The vulnerability affects SQL collection queries that are executed on reload, potentially enabling database intrusion attacks. An attacker must hold the collection-sql snippet permission to exploit this flaw.

## Affected products

- NocoBase @nocobase/plugin-collection-sql through 2.2.28

## Timeline

- 2026-10-19: disclosed

## References

- [https://github.com/nocobase/nocobase](https://github.com/nocobase/nocobase)
- [https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts](https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts)
