spring-projects/spring-ai · Security
Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor
- GHSA ID
- GHSA-5852-phmh-8fhr
- CVE ID
- CVE-2026-41713
- Severity
- high
- Published
- Updated
- CVSS
- 8.2 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- CVSS v3
- 8.2 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
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.
CWEs
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine