Read the docs
TI-2026-30159 Aliases CVE-2026-41640GHSA-4948-f92q-f432

NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading

Priority HIGH 73CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
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 · NVD. 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 version 2.0.39, the queryParentSQL() function in the core database package constructs a recursive CTE query by joining nodeIds with string concatenation instead of using parameterized queries. The nodeIds array contains primary key values read from database rows. An attacker who can create a record with a malicious string primary key can inject arbitrary SQL when any subsequent request triggers recursive eager loading on that collection. This issue has been patched in version 2.0.39.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01875 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed nocobase (nocobase): 2.0.39@nocobase/database (npm): 2.0.39

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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
nocobasenocobasebefore 2.0.392.0.39Patch availableCNA
—@nocobase/database (npm)before 2.0.392.0.39Patch availableGHSA-4948-f92q-f432
  • nocobase Vendornocobase Affected before 2.0.39 Fixed in 2.0.39 Patch available CNA
  • @nocobase/database (npm) Vendor— Affected before 2.0.39 Fixed in 2.0.39 Patch available GHSA-4948-f92q-f432

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:*before 2.0.39Vulnerablenocobase
  • cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:* Versions before 2.0.39 Vulnerable ·nocobase

Remediation

  • Fix · CNA nocobase (nocobase) Fixed in 2.0.39
  • Fix · GHSA-4948-f92q-f432 @nocobase/database (npm) Fixed in 2.0.39 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-41640
  2. 2026-10-03 Alias added: GHSA-4948-f92q-f432

References

  • 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-30160 NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call CVSS 3.1HIGH 7.2
  • TI-2026-29121 NocoBase has SSRF in Workflow HTTP Request and Custom Request Plugins CVSS 4.0MEDIUM 6.4

Sources