{"id":"GHSA-63c8-m9m2-cvr3","summary":"Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()","details":"SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5).","aliases":["CVE-2026-40978"],"modified":"2026-05-06T20:11:26.650974Z","published":"2026-04-28T09:34:13Z","database_specific":{"nvd_published_at":"2026-04-28T09:16:16Z","cwe_ids":["CWE-89"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-05-06T19:54:17Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40978"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ai"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40978"}],"affected":[{"package":{"name":"org.springframework.ai:spring-ai-azure-cosmos-db-store","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-azure-cosmos-db-store"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.6"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-63c8-m9m2-cvr3/GHSA-63c8-m9m2-cvr3.json"}},{"package":{"name":"org.springframework.ai:spring-ai-azure-cosmos-db-store","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-azure-cosmos-db-store"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"1.1.5"}]}],"versions":["1.1.0","1.1.1","1.1.2","1.1.3","1.1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-63c8-m9m2-cvr3/GHSA-63c8-m9m2-cvr3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}