Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ai/spring-ai-client-chat
  4. ›
  5. CVE-2026-41713

CVE-2026-41713: Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor

May 12, 2026 (updated May 18, 2026)

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.

References

  • github.com/advisories/GHSA-5852-phmh-8fhr
  • nvd.nist.gov/vuln/detail/CVE-2026-41713
  • spring.io/security/cve-2026-41713

Code Behaviors & Features

Detect and mitigate CVE-2026-41713 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.7, all versions starting from 1.1.0-M1 before 1.1.6

Fixed versions

  • 1.0.7
  • 1.1.6

Solution

Upgrade to versions 1.0.7, 1.1.6 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

maven/org.springframework.ai/spring-ai-client-chat/CVE-2026-41713.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:48 +0000.