CVE-2026-41640

published 7 May 2026 · updated 11 Nov 2026

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

8.5HighCVSS 7.5EPSS 2%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.0.39.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nocobasenocobase<2.0.392.0.39
nocobase<2.0.39

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41640 severity on Zeptric[![CVE-2026-41640](https://zeptric.io/badge/cve/CVE-2026-41640.svg)](https://zeptric.io/cve/CVE-2026-41640)