GHSA-4948-f92q-f432 · Severity: high · Ecosystem: npm — @nocobase/database has SQL Injection via String Concatenation through 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.
Conclusion & alert: CVE-2026-41640 is rated High Exploit Risk (77/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.82%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-22 | 4.21% | 4.82% | +0.60% |
| 2 | 2026-05-07 | — | 4.21% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
1.6 | 5.9 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-4948-f92q-f432 · Severity: high · Ecosystem: npm — @nocobase/database has SQL Injection via String Concatenation through Recursive Eager Loading
| URL | Tags |
|---|---|
| https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604 | Patch |
| https://github.com/nocobase/nocobase/pull/9133 | Issue Tracking Patch |
| https://github.com/nocobase/nocobase/releases/tag/v2.0.39 | Patch Release Notes |
| https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432 | Exploit Mitigation Vendor Advisory |