CVE-2026-40978 Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
HighCVSS 8.8
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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)
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3 +9 more | 1.0.6, 1.1.5 | Fixed |
| Spring AI | >= 1.0.0, < 1.0.6; >= 1.1.0, < 1.1.5 | 1.0.6, 1.1.5 | Fixed |
| VMware Spring AI | >= 1.0.0, < 1.0.6; >= 1.1.0, < 1.1.5 | 1.0.6, 1.1.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | >= 1.0.0, < 1.0.6 | 1.0.6 |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.0 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.1 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.2 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.3 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.4 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.0.5 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | >= 1.1.0, < 1.1.5 | 1.1.5 |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.1.0 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.1.1 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.1.2 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.1.3 | No fix listed |
| org.springframework.ai/spring-ai-azure-cosmos-db-store(Maven) | = 1.1.4 | No fix listed |
| Spring AI | >= 1.0.0, < 1.0.6 | 1.0.6 |
| Spring AI | >= 1.1.0, < 1.1.5 | 1.1.5 |
| VMware Spring AI | >= 1.0.0, < 1.0.6 | 1.0.6 |
| VMware Spring AI | >= 1.1.0, < 1.1.5 | 1.1.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- spring.io vendor-advisory
- github.com