Read the docs

SQL injection in NocoBase plugin-collection-sql via setFields

Priority LOW 39CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

The NocoBase @nocobase/plugin-collection-sql package through 2.2.28 contains an SQL injection flaw (CWE-89). Its sqlCollection:setFields action stores unvalidated SQL by bypassing checkSQL(). A privileged user who holds the collection-sql snippet can replace a benign collection query with dangerous statements that run on reload, such as reading pg_shadow password hashes or calling pg_read_file.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00311 24th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nocobasenocobaseup to 2.2.28—No fix listedCNA
  • nocobase Vendornocobase Affected up to 2.2.28 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:*——nocobase
  • cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:* Versions — — ·nocobase

Remediation

The sources list no fixed version for NocoBase.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-19 Threatist record created from CVE-2026-112306
  2. 2026-10-20 Alias added: GHSA-j67h-xf8r-r323

References

  • TI-2026-37983 NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE CVSS 3.1CRITICAL 10.0
  • TI-2026-26457 NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node CVSS 3.1CRITICAL 10.0
  • TI-2026-27069 NocoBase Has SQL Injection via template variable substitution in workflow SQL node CVSS 4.0HIGH 8.5
  • TI-2026-30159 NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading CVSS 3.1HIGH 8.8
  • TI-2026-05461 nocobase plugin-workflow-javascript Vm.js createSafeConsole sandbox CVSS 4.0MEDIUM 6.9
  • TI-2026-30160 NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call CVSS 3.1HIGH 7.2
See all 11 →

Sources