CVE-2026-41713
Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor
Description
A malicious user could craft input that is stored in conversation memory and later interpreted by the model in an unintended way. Applications using the affected advisor with user-controlled input may be susceptible to manipulation of model behavior across conversation turns.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai » spring-ai-client-chat | < 1.0.7>= 1.1.0-M1, < 1.1.6 | 1.0.7, 1.1.6 |
Blast radius
35% of the dependent artifacts (216) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 712 |
| 2 hops | 1,640 |
| 3 hops | 1,299 |
| 4 hops | 452 |
| 5 hops | 42 |
| 6 hops | 107 |
Most used dependents
- org.springframework.ai » spring-ai-openai119 usages
- org.springframework.ai » spring-ai-starter-model-openai86 usages
- org.springframework.ai » spring-ai-mcp74 usages
- org.springframework.ai » spring-ai-starter-mcp-server-webmvc74 usages
- org.springframework.ai » spring-ai-retry68 usages
- com.embabel.agent » embabel-agent-api67 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-core63 usages
- org.springframework.ai » spring-ai-autoconfigure-retry58 usages
- org.springframework.ai » spring-ai-starter-mcp-server54 usages
- org.springframework.ai » spring-ai-starter-model-anthropic51 usages
- com.alibaba.cloud.ai » spring-ai-alibaba-dashscope50 usages
- org.springframework.ai » spring-ai-transformers47 usages
- io.jaiclaw » jaiclaw-spring-boot-starter43 usages
- io.github.agentic-spring-ai » agentic-spring-ai-dashscope43 usages
- io.jaiclaw » jaiclaw-maven-plugin42 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-41713 | nvd.nist.gov |
| Package | spring-projects/spring-ai | github.com |
| Web | security/cve-2026-41713 | spring.io |
