Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage
CVE-2026-41712 · GHSA-q62f-h9x2-gcqc · published 2026-05-12 · updated 2026-05-18
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.26%
- Fixed in
- 2.0.0-M6
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Spring AI's chat memory component contained a problematic default that, when not explicitly overridden, could result in unintended data exposure between users.
Upgrade org.springframework.ai:spring-ai-client-chat to 2.0.0-M6 or later, and org.springframework.ai:spring-ai-model to 2.0.0-M6 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| org.springframework.ai:spring-ai-client-chat | Maven | < 1.0.7 | 1.0.7 |
| org.springframework.ai:spring-ai-client-chat | Maven | >= 1.1.0-M1, < 1.1.6 | 1.1.6 |
| org.springframework.ai:spring-ai-client-chat | Maven | >= 2.0.0-M1, < 2.0.0-M6 | 2.0.0-M6 |
| org.springframework.ai:spring-ai-model | Maven | < 1.0.7 | 1.0.7 |
| org.springframework.ai:spring-ai-model | Maven | >= 1.1.0-M1, < 1.1.6 | 1.1.6 |
| org.springframework.ai:spring-ai-model | Maven | >= 2.0.0-M1, < 2.0.0-M6 | 2.0.0-M6 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- HighSpring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisororg.springframework.ai:spring-ai-client-chat, org.springframework.ai:spring-ai-client-chat
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.