CVE-2026-40966 VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration
Attackers can exfiltrate sensitive chat history from other users by bypassing conversation isolation in Spring AI applications using VectorStoreChatMemoryAdvisor.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-40966?
CVE-2026-40966 is a medium-severity missing authorization vulnerability in VMware Spring AI, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-284
Which versions are affected by CVE-2026-40966?
4 open source packages ship an affected version, including org.springframework.ai:spring-ai-advisors-vector-store. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.ai:spring-ai-advisors-vector-store Maven | From 1.0.0 | 1.0.6 |
org.springframework.ai:spring-ai-advisors-vector-store Maven | From 1.0.0 | 1.0.6 |
org.springframework.ai:spring-ai-advisors-vector-store Maven | From 1.1.0 | 1.1.5 |
org.springframework.ai:spring-ai-advisors-vector-store Maven | From 1.1.0 | 1.1.5 |
Products include Vmware Spring Ai.
How do I fix CVE-2026-40966?
Upgrade org.springframework.ai:spring-ai-advisors-vector-store to a fixed version for your release line: 1.0.6 or 1.1.5.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-40966 being exploited?
There is no known exploitation of CVE-2026-40966 in the wild and no public exploit code.
Other vulnerabilities in VMware Spring AI
- CVE-2026-22738 SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
- CVE-2026-40978 Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
- CVE-2026-22730 CVE-2026-22730: SQL Injection in Spring AI MariaDBFilterExpressionConverter
- CVE-2026-47835 Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2026-41705 Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
Sources
Also known as GHSA-v6x6-pjxw-3pv2.