Home / nocobase / nocobase / CVE-2026-41640
CVE-2026-41640: is it exploited, and which versions of nocobase are affected and fixed?
CVE-2026-41640 is a SQL injection vulnerability in nocobase. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: @nocobase/database before 2.0.39 (GitHub advisory GHSA-4948-f92q-f432). Fixed in 2.0.39 (GitHub advisory GHSA-4948-f92q-f432). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-41640?
NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading
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.
From the CVE record by GitHub_M, last updated May 7, 2026, 12:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nocobase | nocobase | < 2.0.39 |
As the CVE record by GitHub_M states it, last updated May 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @nocobase/database | < 2.0.39 | 2.0.39 | GHSA-4948-f92q-f432 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 8, 2026. Summary: @nocobase/database has SQL Injection via String Concatenation through Recursive Eager Loading.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nocobase | nocobase | before 2.0.39 | application |
NVD analysis (status Analyzed), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-41640?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-41640 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, May 7, 2026)
- EPSS
- 1.88% probability of exploitation activity in the next 30 days, percentile 80.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432 x_refsource_CONFIRM
- https://github.com/nocobase/nocobase/pull/9133 x_refsource_MISC
- https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604 x_refsource_MISC
- https://github.com/nocobase/nocobase/releases/tag/v2.0.39 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 21, 2026
- Published
- May 7, 2026, 04:09 UTC
- CVE record updated
- May 7, 2026, 12:55 UTC by GitHub_M
- NVD
- Analyzed, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect nocobase?
- Nov 10, 2026CVE-2026-79914 nocobase: server-side request forgery (SSRF)
- Nov 9, 2026CVE-2026-125397 nocobase: incorrect authorization
- Oct 19, 2026CVE-2026-112306 nocobase: SQL injection
- Sep 2, 2026CVE-2026-84701 nocobase: cross-site scripting (XSS)
- Jul 15, 2026CVE-2026-55410 nocobase: OS command injection
- Jul 15, 2026CVE-2026-52887 nocobase: SQL injection
- Jul 15, 2026CVE-2026-52888 nocobase: incomplete List of Disallowed Inputs
- Jul 7, 2026CVE-2026-58468 nocobase: server-side request forgery (SSRF)
Questions about CVE-2026-41640
Is CVE-2026-41640 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.88% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of nocobase are affected by CVE-2026-41640?
@nocobase/database before 2.0.39, per the GitHub advisory GHSA-4948-f92q-f432. The tables above give every range the sources list.
Which version fixes CVE-2026-41640?
2.0.39, per the GitHub advisory GHSA-4948-f92q-f432. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-41640?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-41640?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.