What’s Vulnerable › Vulnerabilities

CVE-2026-40978

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)

Affected products

How to fix

Upgrade to a fixed version: Spring AI 1.0.6, 1.1.5; Spring AI 1.0.6, 1.1.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40978 or the next vulnerability affects your stack