MODERATE 5.9

CVE-2026-40966

Spring AI's VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-advisors-vector-store
>= 1.0.0, < 1.0.6>= 1.1.0, < 1.1.5
1.0.6, 1.1.5

Blast radius

1affected artifacts
11affected versions
39dependent artifacts (est.)
392dependent versions

25% of the dependent artifacts (10) still pull an affected version in their latest release.

DepthDependent versions
Direct
116
2 hops
57
3 hops
77
4 hops
23
5 hops
15
6 hops
104

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webjinyeong.seol.pro
Webnvd.nist.gov
Webspring.io