medium5.9
CVE-2026-40966
In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials…
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework.ai:spring-ai-advisors-vector-store | >= 1.0.0, < 1.0.6 | 1.0.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Ai | from 1.0.0 before 1.0.6 from 1.1.0 before 1.1.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-v6x6-pjxw-3pv2
- https://nvd.nist.gov/vuln/detail/CVE-2026-40966
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?version=3.1&vector=AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- https://spring.io/security/cve-2026-40966
- https://jinyeong.seol.pro/blogs/cve-2026-40966/en