CVE-2026-40967: Spring AI has a VectorStore FilterExpression Converter injection
In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query. 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)
Published Apr 28, 2026 · Updated May 6, 2026
Affected packages
org.springframework.ai:spring-ai-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.0.0, < 1.0.6
- Fixed in
- 1.0.6
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-vector-store
org.springframework.ai:spring-ai-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.1.0, < 1.1.5
- Fixed in
- 1.1.5
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-vector-store
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query.
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)
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
