ADVISORIES

GitHub Advisory Database

GHSA-5852-phmh-8fhr

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.ai:spring-ai-client-chat
All versions before 1.0.7 (fixed in 1.0.7)
Mavenorg.springframework.ai:spring-ai-client-chat
From 1.1.0-M1 before 1.1.6 (fixed in 1.1.6)

References