Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-41640
Published:May 07, 2026
Updated:May 15, 2026
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 Packages
https://github.com/nocobase/nocobase.git (GITHUB):
Affected version(s) >=v0.2.2 <v2.0.39
Fix Suggestion:
Update to version v2.0.39
@nocobase/plugin-field-sort (NPM):
Affected version(s) >=1.5.0-alpha.1 <2.0.39
Fix Suggestion:
Update to version 2.0.39
@nocobase/database (NPM):
Affected version(s) >=0.4.0-alpha.1 <2.0.39
Fix Suggestion:
Update to version 2.0.39
nocobase (NPM):
Affected version(s) >=0.1.0 <2.0.39
Fix Suggestion:
Update to version 2.0.39
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
4.23