What’s Vulnerable › Vulnerabilities
CVE-2026-40978
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-28 · updated 2026-10-26
- Weakness: CWE-89
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)
Affected products
- Spring AI: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5 — fixed in 1.0.6, 1.1.5
- Spring AI: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5 — fixed in 1.0.6, 1.1.5
How to fix
Upgrade to a fixed version: Spring AI 1.0.6, 1.1.5; Spring AI 1.0.6, 1.1.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-40978 or the next vulnerability affects your stack