{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-41640","published":"2026-05-07T04:16:28.277000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:*","part":"a","vendor":"nocobase","product":"nocobase","version_end_excluding":"2.0.39"}],"cpes_truncated":false,"vendors":["nocobase"],"products":["nocobase/nocobase"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4948-f92q-f432","ecosystem":"npm","name":"@nocobase/database","purl":"pkg:npm/%40nocobase/database","ranges":[{"introduced":"0","fixed":"2.0.39"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2026-41640/","html_en":"/en/cve/CVE-2026-41640/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41640","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41640"},"untrusted":{"vendor_name":"Nocobase","product_name":"Nocobase","desc_en":"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":[{"untrusted_vendor":"nocobase","untrusted_product":"nocobase","versions":[]}],"references":[{"url":"https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604","tags":["Patch"]},{"url":"https://github.com/nocobase/nocobase/pull/9133","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.39","tags":["Patch","Release Notes"]},{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}