CVE-2026-40978
Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
Reported by vmware · Published April 28, 2026
spring-ai-azure-cosmos-db-store is fixed in 1.1.5 and 1.0.6 (Maven Central)
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)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.ai:spring-ai-azure-cosmos-db-store | Maven Central | 1.1.5, 1.0.6 |
| spring_ai | vmware | 1.1.5, 1.0.6 |
| Spring AI | Spring | 1.1.5, 1.0.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring AI | 1.0.0, 1.1.0 |
| Maven | org.springframework.ai:spring-ai-azure-cosmos-db-store | 1.0.0, 1.1.0 |
| Spring | Spring AI | 1.0.0, 1.1.0 |
Timeline
- Apr 28, 2026 CVE Published
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory
- Jul 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-40978
vulnetix vdb fixes CVE-2026-40978
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40978/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart