{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41640","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-21T23:58:43.801Z","datePublished":"2026-05-07T04:09:59.264Z","dateUpdated":"2026-05-07T12:55:04.738Z"},"containers":{"cna":{"title":"NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading","problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432"},{"name":"https://github.com/nocobase/nocobase/pull/9133","tags":["x_refsource_MISC"],"url":"https://github.com/nocobase/nocobase/pull/9133"},{"name":"https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604","tags":["x_refsource_MISC"],"url":"https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604"},{"name":"https://github.com/nocobase/nocobase/releases/tag/v2.0.39","tags":["x_refsource_MISC"],"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.39"}],"affected":[{"vendor":"nocobase","product":"nocobase","versions":[{"version":"< 2.0.39","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-05-07T04:09:59.264Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-4948-f92q-f432","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-07T12:54:23.331234Z","id":"CVE-2026-41640","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-05-07T12:55:04.738Z"}}]}}