CVE-2026-40978
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
28/04/2026
Last modified:
29/04/2026
Description
SQL injection vulnerability in Spring AI&#39;s `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs.<br />
<br />
Affected versions:<br />
Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* | 1.0.0 (including) | 1.0.6 (excluding) |
| cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* | 1.1.0 (including) | 1.1.5 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



