CVE-2026-40966: In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’
CVE-2026-40966 is a medium-severity flaw (CVSS 5.9) affecting spring ai. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-284 |
| Published | 2026-04-28 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40966?
spring ai: upgrade to 1.0.6, 1.1.5. Exact commands for each OS are on this page.
Is CVE-2026-40966 being exploited?
CVE-2026-40966 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40966 affect?
CVE-2026-40966 affects spring ai. Severity is medium (CVSS 5.9). 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 Ve
How urgent is CVE-2026-40966?
Priority 29/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-40967 HIGH 8.6 UPGRADE In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translat
- CVE-2026-40978 HIGH 8.8 UPGRADE SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL que
- CVE-2026-22743 HIGH 7.5 UPGRADE Spring AI's spring-ai-neo4j-store contains a Cypher injection vulnerability in Neo4jVectorFilterExpressionConv
- CVE-2026-22738 CRITICAL 9.8 UPGRADE In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as
- CVE-2026-22742 HIGH 8.6 UPGRADE Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockP