Skip to content
Vulnerability Intelligence

CVE-2026-41640

HighPublic exploit

@nocobase/database has SQL Injection via String Concatenation through Recursive Eager Loading

Published Apr 22, 2026 · Updated Aug 12, 2026 · Also known as GHSA-4948-f92q-f432

Key Facts

Patch immediately
  • CVE-2026-41640 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Nocobase, @nocobase/database (npm).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 2.4% probability of exploitation in the next 30 days.
  • Fixed versions are available, including @nocobase/database 2.0.39, Nocobase 2.0.39.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

2.4%

Higher than 83.9% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2026-41640 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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 Products

3 affected entries in total
ProductAffected versionsFixed in
NocobaseNocobase>= < 2.0.392.0.39
@nocobase/databasenpmSee advisory2.0.39

Patched Releases

@nocobase/database

2.0.39

Nocobase

2.0.39

Timeline

  1. Publicly disclosed

    Apr 22, 2026

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-41640 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo