GHSA-5852-phmh-8fhr

Suggest an improvement
Source
https://github.com/advisories/GHSA-5852-phmh-8fhr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-5852-phmh-8fhr/GHSA-5852-phmh-8fhr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5852-phmh-8fhr
Aliases
Downstream
Published
2026-05-12T12:32:16Z
Modified
2026-05-18T18:11:26Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-1336"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-18T17:54:15Z",
    "nvd_published_at": "2026-05-12T11:16:19Z",
    "severity": "HIGH"
}
References

Affected packages

Maven / org.springframework.ai:spring-ai-client-chat

Package

Name
org.springframework.ai:spring-ai-client-chat
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.ai/spring-ai-client-chat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.7

Affected versions

1.*
1.0.0-M7
1.0.0-M8
1.0.0-RC1
1.0.0
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"

Maven / org.springframework.ai:spring-ai-client-chat

Package

Name
org.springframework.ai:spring-ai-client-chat
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.ai/spring-ai-client-chat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.1.0-M1
Fixed
1.1.6

Affected versions

1.*
1.1.0-M1
1.1.0-M2
1.1.0-M3
1.1.0-M4
1.1.0-RC1
1.1.0
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"