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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-28 · Modified: 2026-04-28
- Aliases: GHSA-v6x6-pjxw-3pv2
- Record: https://cvemate.com/vulnerability/CVE-2026-40966 · JSON: https://cvemate.com/vulnerability/CVE-2026-40966/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.242%, percentile 16.419%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.ai spring-ai-advisors-vector-store (Maven): ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5
- vmware spring\_ai: ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5

## References

- <https://spring.io/security/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://nvd.nist.gov/vuln/detail/CVE-2026-40966>
- <https://github.com/spring-projects/spring-ai>
- <https://jinyeong.seol.pro/blogs/cve-2026-40966/en>

---

Data as of 2026-12-05T04:11:06.774Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
