CVE-2026-40966
Published:April 28, 2026
Updated:May 18, 2026
In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials, by injecting filter logic through conversationId. Only applications that use VectorStoreChatMemoryAdvisor and pass user-supplied input as a conversationId are affected.
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-advisors-vector-store (JAVA):
Affected version(s) >=1.1.0 <1.1.5Fix Suggestion:
Update to version 1.1.5org.springframework.ai:spring-ai-advisors-vector-store (JAVA):
Affected version(s) >=1.0.0 <1.0.6Fix Suggestion:
Update to version 1.0.6Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Access Control
EPSS
Base Score:
0.04