Spring AI has a VectorStore FilterExpression Converter injection
Date: 2026-04
Affected: maven/org.springframework.ai:spring-ai-vector-store, maven/org.springframework.ai:spring-ai-vector-store
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-40967
CWE: CWE-94
CVSS: 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L)

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)


Mitigations:

Architectural layers (MAESTRO):