CVE-2026-40978
Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
8.8
HIGH
CVSS 3.1
EPSS 0.02%
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).
How to fix CVE-2026-40978
To remediate CVE-2026-40978, upgrade the affected package to a fixed version below.
- —upgrade to 1.0.6 or later
Is CVE-2026-40978 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 1.0.0, < 1.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |