8.8High
CVE-2026-40978
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)
Weakness (CWE):
CWE-89
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://spring.io/security/cve-2026-40978 Vendor Advisory
CPE matches (NVD) (2)
cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*≥ 1.0.0 < 1.0.6cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*≥ 1.1.0 < 1.1.5