CVE-2026-40967
Published:April 28, 2026
Updated:May 18, 2026
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)
Affected Packages
https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.0.6Fix Suggestion:
Update to version v1.0.6https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.1.0 <v1.1.5Fix Suggestion:
Update to version v1.1.5org.springframework.ai:spring-ai-vector-store (JAVA):
Affected version(s) >=1.0.0 <1.0.6Fix Suggestion:
Update to version 1.0.6org.springframework.ai:spring-ai-vector-store (JAVA):
Affected version(s) >=1.1.0 <1.1.5Fix Suggestion:
Update to version 1.1.5Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.07