CVE-2026-40978: Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
(updated )
SQL injection vulnerability in Spring AI’s CosmosDBVectorStore allows attackers to execute arbitrary SQL queries via crafted document IDs.
Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5).
References
Code Behaviors & Features
Detect and mitigate CVE-2026-40978 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →