Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor
Date: 2026-05
Affected: maven/org.springframework.ai:spring-ai-client-chat, maven/org.springframework.ai:spring-ai-client-chat
Attack vector: prompt-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-41713
CWE: CWE-1336
CVSS: 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):