{"data":{"id":"1b101a0f-de73-424e-9fe2-4ca8a64339d6","title":"CVE-2026-40978: SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via…","summary":"CVE-2026-40978 is a SQL injection flaw in Spring AI's `CosmosDBVectorStore`. Attackers can run arbitrary SQL queries by supplying crafted document IDs. Affected versions are Spring AI 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4.","solution":"Fixed in Spring AI 1.0.6 and 1.1.5.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40978","publishedAt":"2026-04-28T09:16:16.583Z","cveId":"CVE-2026-40978","cweIds":["CWE-89"],"cvssScore":"8.8","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["org.springframework.ai:spring-ai-azure-cosmos-db-store@>= 1.0.0, < 1.0.6 (fixed: 1.0.6)","org.springframework.ai:spring-ai-azure-cosmos-db-store@>= 1.1.0, < 1.1.5 (fixed: 1.1.5)"],"affectedPackageNames":["org-springframework-ai:spring-ai-azure-cosmos-db-store"],"affectedPackageRefs":["maven:org-springframework-ai:spring-ai-azure-cosmos-db-store"],"affectedVendors":[],"affectedVendorsRaw":["Spring AI","CosmosDBVectorStore"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Spring AI CosmosDBVectorStore SQL injection via crafted document IDs","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"low","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00351,"epssPercentile":0.30797,"epssCheckedAt":"2026-12-03T19:40:29.883Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":null,"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:31:18.234Z","kevDateAdded":null,"advisoryAliases":["GHSA-63c8-m9m2-cvr3"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:06:23.475Z","patchAvailable":true,"disclosureDate":"2026-04-28T09:16:16.583Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-66"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"rag","llmSpecific":false,"classifierConfidence":0.9,"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":["org.springframework.ai:spring-ai-azure-cosmos-db-store@1.0.6","org.springframework.ai:spring-ai-azure-cosmos-db-store@1.1.5"],"affectedPurls":["pkg:maven/org.springframework.ai/spring-ai-azure-cosmos-db-store"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"published","date":"2026-04-28","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":[]}}