{"id":"GHSA-5852-phmh-8fhr","summary":"Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor","details":"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.","aliases":["CVE-2026-41713"],"modified":"2026-05-18T18:11:26.163469Z","published":"2026-05-12T12:32:16Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-18T17:54:15Z","nvd_published_at":"2026-05-12T11:16:19Z","cwe_ids":["CWE-1336"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41713"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ai"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41713"}],"affected":[{"package":{"name":"org.springframework.ai:spring-ai-client-chat","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-client-chat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7"}]}],"versions":["1.0.0","1.0.0-M7","1.0.0-M8","1.0.0-RC1","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-5852-phmh-8fhr/GHSA-5852-phmh-8fhr.json"}},{"package":{"name":"org.springframework.ai:spring-ai-client-chat","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ai/spring-ai-client-chat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0-M1"},{"fixed":"1.1.6"}]}],"versions":["1.1.0","1.1.0-M1","1.1.0-M2","1.1.0-M3","1.1.0-M4","1.1.0-RC1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-5852-phmh-8fhr/GHSA-5852-phmh-8fhr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"}]}