NocoBase: SQL injection in /api/myInAppChannels:list filter to PG-superuser RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to 2.0.61, NocoBase @nocobase/plugin-notification-in-app-message exposed GET /api/myInAppChannels:list, where the filter[latestMsgReceiveTimestamp][$lt] value was inserted into a Sequelize.literal() template string without escaping or parameter binding, allowing a signed-up authenticated user to run stacked PostgreSQL statements and potentially execute commands with COPY ... TO PROGRAM. This vulnerability is fixed in 2.0.61.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nocobase | nocobase | before 2.0.61 | 2.0.61 | Patch available | CNA |
| — | @nocobase/plugin-notification-in-app-message (npm) | before 2.0.61 | 2.0.61 | Patch available | GHSA-p849-8hwh-84j9 |
- nocobase Vendornocobase Affected before 2.0.61 Fixed in 2.0.61 Patch available CNA
- @nocobase/plugin-notification-in-app-message (npm) Vendor— Affected before 2.0.61 Fixed in 2.0.61 Patch available GHSA-p849-8hwh-84j9
Remediation
- Fix · CNA nocobase (nocobase) Fixed in 2.0.61
- Fix · GHSA-p849-8hwh-84j9 @nocobase/plugin-notification-in-app-message (npm) Fixed in 2.0.61 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52887
- 2026-10-03 Alias added: GHSA-p849-8hwh-84j9
References
Other 5
More nocobase vulnerabilities
- 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
- TI-2026-39980 NocoBase backup restore schema name allows command injection CVSS 3.1MEDIUM 6.7
Sources
- CVE-2026-52887 · CVE Program
- CVE-2026-52887 · NVD
- FIRST EPSS
- GHSA-p849-8hwh-84j9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences