Skip to content
HighVulnerability

CVE-2026-40978: Spring AI CosmosDBVectorStore SQL injection via crafted document IDs

Identifier
CVE-2026-40978
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-40978 is a SQL injection flaw in Spring AI's `CosmosDBVectorStore`. Attackers can run arbitrary SQL queries by supplying crafted document IDs. Affected versions are Spring AI 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4.

Mitigation

Fixed in Spring AI 1.0.6 and 1.1.5.