Skip to content
HighVulnerability

CVE-2026-41640: NocoBase SQL injection through queryParentSQL recursive query

Identifier
CVE-2026-41640
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

NocoBase, an AI-powered no-code/low-code platform for business applications, has a SQL injection flaw in the queryParentSQL() function of its core database package before version 2.0.39. The function builds a recursive CTE query by concatenating nodeIds, which are primary key values read from database rows, instead of using parameterized queries. An attacker who can create a record with a malicious string primary key can inject arbitrary SQL when a later request triggers recursive eager loading on that collection.

Mitigation

Fixed in version 2.0.39.