Intel

AIKIDO-2026-10679

spring-ai-client-chat is vulnerable to Code Injection

Code InjectionCVE-2026-40967 Published Apr 30, 2026

86

High Risk

This Affects:

JAVAspring-ai-client-chat
1.0.0 - 1.0.5
Fixed in 1.0.6
1.1.0 - 1.1.4
Fixed in 1.1.5
Are you affected? Scan for Free

TL;DR

Affected versions of Spring AI are vulnerable to Code Injection. 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. Only applications that use VectorStore implementations and pass user-supplied input as a filterExpression are affected.

Who does this affect?

You are affected if using a vulnerable version and your applications uses VectorStore implementations.

Background info

spring-ai-client-chat is vulnerable to Code Injection in versions 1.1.0 - 1.1.4 and 1.0.0 - 1.0.5.

How to fix this

Upgrade the org.springframework.ai:spring-ai-client-chat library to the patch version.