Skip to main content

Spring AI CVE-2026-41713

| EUVDEUVD-2026-29449 HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-05-12 vmware GHSA-5852-phmh-8fhr
8.2
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch available
May 12, 2026 - 12:02 EUVD
Analysis Generated
May 12, 2026 - 11:30 vuln.today
CVE Published
May 12, 2026 - 10:17 nvd
HIGH 8.2

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 37 maven packages depend on org.springframework.ai:spring-ai-client-chat (6 direct, 31 indirect)

Ecosystem-wide dependent count for version 1.1.0-M1.

DescriptionCVE.org

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.

AnalysisAI

Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that persists across conversation turns and manipulates AI model behavior. The vulnerability achieves high integrity impact (CVSS 8.2) through stored prompt injection, enabling attackers to alter model responses, extract sensitive context, or bypass application logic without authentication. No active exploitation confirmed at time of analysis, but the network-accessible attack surface and low complexity make this a priority for applications processing user-generated conversational input.

Technical ContextAI

Spring AI is VMware's framework for building AI-powered applications with conversation memory capabilities. This vulnerability exploits CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), manifesting as Server-Side Template Injection (SSTI) within the conversation memory layer. The flaw occurs when user-controlled input is stored in conversation context without proper sanitization, then later retrieved and processed by the language model as instructions rather than data. The CPE identifier (cpe:2.3:a:vmware:spring_ai) indicates the core Spring AI library is affected. This represents a stored injection attack where malicious prompts persist in memory state and influence subsequent model invocations, similar to traditional stored XSS but targeting LLM reasoning instead of web browsers.

RemediationAI

Consult the VMware Spring AI security advisory at https://spring.io/security/cve-2026-41713 for patch version and upgrade instructions. Primary remediation is upgrading to the patched Spring AI release that implements proper input sanitization in conversation memory handling. Until patching is complete, implement defense-in-depth controls: (1) Apply strict input validation to filter prompt injection attempts before storing in conversation memory, though this may reduce legitimate use cases for special characters and may be bypassed by novel injection techniques. (2) Implement conversation memory isolation per user session to prevent cross-session contamination, which adds architectural complexity but limits blast radius. (3) Add output filtering to detect and block unexpected model behavior patterns, noting this is reactive rather than preventive. (4) Consider disabling conversation memory features in the advisor configuration for internet-facing applications processing untrusted input, which eliminates the vulnerability but removes multi-turn conversation capabilities. Evaluate trade-offs between security and functionality based on application requirements and user trust boundaries.

More in Ssti

View all
CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2024-6386 CRITICAL POC
9.9 Aug 21

Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor

CVE-2024-23692 CRITICAL POC
9.8 May 31

Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c

CVE-2025-23211 CRITICAL POC
9.9 Jan 28

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve

CVE-2024-32651 CRITICAL POC
10.0 Apr 26

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic

CVE-2024-4040 CRITICAL POC
10.0 Apr 22

A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all

CVE-2024-24724 CRITICAL POC
9.8 Apr 03

Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re

CVE-2026-28496 CRITICAL POC
9.4 Jun 23

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb

CVE-2025-1040 HIGH POC
8.8 Mar 20

AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote C

CVE-2023-6709 HIGH POC
8.8 Dec 12

Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository mlflow/mlflow prior to 2.9.2.

CVE-2022-0896 HIGH POC
8.8 Mar 09

Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository microweber/microweber prior t

CVE-2024-54954 HIGH POC
8.0 Feb 10

OneBlog v2.3.6 was discovered to contain a template injection vulnerability via the template management department. Rate

Share

CVE-2026-41713 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy