NocoBase
NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.0.39
Fixed in 2.0.39
Mitigation
Upgrade nocobase to 2.0.39 or later.
References
- Vendor advisory github.com/nocobase/nocobase/security/advisori…
- Patch github.com/nocobase/nocobase/pull/9133
- Patch github.com/nocobase/nocobase/commit/202e2b8efe…
1 more
- Release notes github.com/nocobase/nocobase/releases/tag/v2.0…
Timeline
Days relative to CVE publicationFirst public PoC 14 days before publication; not in CISA KEV. First PoC: nuclei template: NocoBase - SQL Injection (nuclei template, 23 Apr 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: NocoBase - SQL Injection | 23 Apr 2026 | 14 Nov 2026 |