CVE-2026-41640

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

HIGH
8.8
CVSS Score
Published: May 7, 2026 at 04:09 AM UTC
Updated: June 17, 2026 at 10:46 AM UTC
1 product affected across 1 vendorNocoBase

Using nocobase by nocobase?

Get instant alerts when new vulnerabilities affect nocobase - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 2%
SSVC
PoC

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.0.39
Affected range stops below 2.0.39, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/nocobase/nocobase/pull/9133
x_refsource_MISCPatchRelease Notes
Source: cverecord
https://github.com/nocobase/nocobase/releases/tag/v2.0.39

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card