INCIDENT MAP

Browse / RAG and Vector Store Weaknesses / CVE-2026-40967

Spring AI has a VectorStore FilterExpression Converter injection

CVE-2026-40967 ยท 2026-04-28 high

Class
RAG and Vector Store Weaknesses (filed by a model that read the advisory)
Technique
SQL and query injection
Affected
org.springframework.ai:spring-ai-vector-store (Maven)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

Unescaped keys and values in filter expressions are translated into vector store queries, letting attackers alter the query logic. (Our summary, written by a model. The source text is below.)

Details

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

Source: GitHub Advisory Database, used under CC BY 4.0.