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)
| Artifact | Affected versions | Fixed 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
25% of the dependent artifacts (10) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 116 |
| 2 hops | 57 |
| 3 hops | 77 |
| 4 hops | 23 |
| 5 hops | 15 |
| 6 hops | 104 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » apache-camel5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-starter-memory-mem03 usages
- org.apache.camel » camel-report-maven-plugin3 usages
- org.apache.camel » camel-spring-ai-chat3 usages
- org.apache.camel » camel-jbang-plugin-generate2 usages
- org.apache.camel » camel-jbang-plugin-test2 usages
- io.github.agentic-spring-ai » agentic-spring-ai-starter-memory-mem02 usages
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
| Advisory | NVD CVE-2026-40966 | nvd.nist.gov |
| Package | spring-projects/spring-ai | github.com |
| Web | blogs/cve-2026-40966/en | jinyeong.seol.pro |
| Web | vuln-metrics/cvss/v3-calculator | nvd.nist.gov |
| Web | security/cve-2026-40966 | spring.io |
