CVE-2026-40978 json
Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
published 2026-04-28 6 mo ago modified 2026-10-26 13 d ago also GHSA-63c8-m9m2-cvr3 , EUVD-2026-26011
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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)
Patch / fix
- maven org.springframework.ai:spring-ai-azure-cosmos-db-store 1.0.6, 1.1.5
- Spring Spring AI 1.0.6, 1.1.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.ai:spring-ai-azure-cosmos-db-store | >=1.0.0, <1.0.6 >=1.1.0, <1.1.5 |
1.0.6 1.1.5 |
Affected products
- Spring Spring AI
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
spring.io
/security/cve-2026-40978
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-40978
advisory
-
github.com
/spring-projects/spring-ai
package
Sources
- CVE List CVE-2026-40978
- GitHub Advisory GHSA-63c8-m9m2-cvr3
- NVD CVE-2026-40978
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.