# CVE-2026-40978

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-28 · Modified: 2026-04-29
- Aliases: GHSA-63c8-m9m2-cvr3
- Record: https://cvemate.com/vulnerability/CVE-2026-40978 · JSON: https://cvemate.com/vulnerability/CVE-2026-40978/json

## Description

```text
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)
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.351%, percentile 30.767%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.ai spring-ai-azure-cosmos-db-store (Maven): ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5
- spring spring ai: ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5
- vmware spring\_ai: ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5

## References

- <https://spring.io/security/cve-2026-40978>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40978>
- <https://github.com/spring-projects/spring-ai>

---

Data as of 2026-12-05T04:11:00.418Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
