SQL Injection in Spring Ai
CVE-2026-40978
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)
Vulnerability class: SQL Injection
EPSS: 0.000 (7.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Spring Ai — versions 1.0.0, 1.1.0
- Vmware Spring_ai
Weakness classification (CWE)
References
- security@vmware.com (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-40978?
- CVE-2026-40978 is a high-severity vulnerability in Spring Ai, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-04-28.
- How severe is CVE-2026-40978?
- High severity. CVSS v3 base score is 8.8 out of 10.