{"data":{"id":"2b766d3e-3070-45ae-842d-bd16e83db716","title":"CVE-2026-41640: NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior…","summary":"NocoBase, an AI-powered no-code/low-code platform for business applications, has a SQL injection flaw in the queryParentSQL() function of its core database package before version 2.0.39. The function builds a recursive CTE query by concatenating nodeIds, which are primary key values read from database rows, instead of using parameterized queries. An attacker who can create a record with a malicious string primary key can inject arbitrary SQL when a later request triggers recursive eager loading on that collection.","solution":"Fixed in version 2.0.39.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-41640","publishedAt":"2026-05-07T04:16:28.277Z","cveId":"CVE-2026-41640","cweIds":["CWE-89"],"cvssScore":"7.5","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["@nocobase/database@< 2.0.39 (fixed: 2.0.39)"],"affectedPackageNames":["@nocobase/database"],"affectedPackageRefs":["npm:@nocobase/database"],"affectedVendors":[],"affectedVendorsRaw":["NocoBase"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"NocoBase SQL injection through queryParentSQL recursive query","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"high","privilegesRequired":"low","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.01875,"epssPercentile":0.80089,"epssCheckedAt":"2026-12-03T19:40:32.169Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/nocobase/nocobase/security/advisories/GHSA-4948-f92q-f432"],"patchCommitUrls":["https://github.com/nocobase/nocobase/commit/202e2b8efe44ba90adbf1087f6f70881ff947604","https://github.com/nocobase/nocobase/pull/9133"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:30:17.974Z","kevDateAdded":null,"advisoryAliases":["GHSA-4948-f92q-f432"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:04:57.792Z","patchAvailable":true,"disclosureDate":"2026-05-07T04:16:28.277Z","fixReleasedAt":"2026-04-17T22:53:08.990Z","daysToFix":-20,"fixCheckedAt":"2026-12-03T21:42:20.727Z","capecIds":["CAPEC-66"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":null,"llmSpecific":false,"classifierConfidence":0.6,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["@nocobase/database@2.0.39"],"affectedPurls":["pkg:npm/%40nocobase/database"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-04-17","source":"package_registry"},{"event":"published","date":"2026-05-07","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"npm","name":"@nocobase/database","fixedVersion":"2.0.39","matchedVersion":"2.0.39","fixReleasedAt":"2026-04-17T22:53:08.990Z","daysToFix":-20,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-12-03T21:42:20.725Z"}]}}