CVE-2026-40966: Spring AI's VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration
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.
Published Apr 28, 2026 · Updated Jul 17, 2026
Affected packages
org.springframework.ai:spring-ai-advisors-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.0.0, < 1.0.6
- Fixed in
- 1.0.6
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-advisors-vector-store
org.springframework.ai:spring-ai-advisors-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.1.0, < 1.1.5
- Fixed in
- 1.1.5
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-advisors-vector-store
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to Seol-JY.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
