CVE-2026-40966 VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration

Medium 5.9 Published Updated

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.

PackageAffectedFixed in
org.springframework.ai:spring-ai-advisors-vector-store MavenFrom 1.0.01.0.6
org.springframework.ai:spring-ai-advisors-vector-store MavenFrom 1.0.01.0.6
org.springframework.ai:spring-ai-advisors-vector-store MavenFrom 1.1.01.1.5
org.springframework.ai:spring-ai-advisors-vector-store MavenFrom 1.1.01.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.

Sources

Also known as GHSA-v6x6-pjxw-3pv2.

Is CVE-2026-40966 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free