CVE-2026-41713: Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor
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.
Published May 12, 2026 · Updated May 18, 2026
Affected packages
org.springframework.ai:spring-ai-client-chat
- Ecosystem
- Maven
- Affected
- < 1.0.7
- Fixed in
- 1.0.7
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-client-chat
org.springframework.ai:spring-ai-client-chat
- Ecosystem
- Maven
- Affected
- >= 1.1.0-M1, < 1.1.6
- Fixed in
- 1.1.6
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-client-chat
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
