HIGH 8.2

CVE-2026-41713

Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-client-chat
< 1.0.7>= 1.1.0-M1, < 1.1.6
1.0.7, 1.1.6

Blast radius

1affected artifacts
21affected versions
609dependent artifacts (est.)
4,252dependent versions

35% of the dependent artifacts (216) still pull an affected version in their latest release.

DepthDependent versions
Direct
712
2 hops
1,640
3 hops
1,299
4 hops
452
5 hops
42
6 hops
107

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webspring.io