Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with injected conversationId
-
DeliveryVectorStoreChatMemoryAdvisor constructs unvalidated query
-
ExploitVector database executes filter bypass
-
ExecutionRetrieve unauthorized user conversations
-
ImpactExtract secrets and credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the vulnerable application explicitly use VectorStoreChatMemoryAdvisor AND pass user-supplied input directly as the conversationId parameter without prior validation or sanitization. Applications that use static, server-generated conversationId values or that validate conversationId against a strict allowlist are not vulnerable. The attacker must be able to submit HTTP requests to the application's chat interface (network accessibility, no authentication required). The attack succeeds only if the underlying vector database and Spring AI configuration allow filter injection on the conversationId field; implementations with strict parameterized query enforcement may resist exploitation despite this code pattern. Non-vulnerable configurations include: conversationId derived from server-side session identifiers, conversationId restricted to alphanumeric values with length limits, or access control enforced at the query level regardless of conversationId injection. |
| Impact | This vulnerability presents a focused but significant risk. The CVSS score of 5.9 reflects high confidentiality impact (C:H) but no integrity or availability impact, with network accessibility (AV:N) and no authentication requirement (PR:N), partially offset by moderately high attack complexity (AC:H). The AC:H rating suggests the attack requires crafted filter injection payloads and likely knowledge of the vector database query syntax, making opportunistic mass exploitation less likely than targeted attacks. However, the lack of user interaction requirement (UI:N) and network accessibility mean any vulnerable instance accessible via HTTP/network is at risk once an attacker determines the correct injection syntax. The confidentiality impact is severe-exfiltration of secrets, credentials, and sensitive conversations from other users-making this a genuine priority for applications using the vulnerable configuration. The mitigation is straightforward (input validation, static conversationId), suggesting organizations can reduce risk rapidly if they identify vulnerable code patterns. |
| Exploit ScenarioDerived | An attacker sends a network request to a vulnerable Spring AI application, crafting a conversationId parameter that injects filter logic to bypass user isolation (e.g., a NoSQL injection payload or field manipulation syntax). The application passes this unsanitized value to VectorStoreChatMemoryAdvisor, which constructs a database query using the attacker-controlled filter. The query executes without proper scope restrictions and returns conversation records from other users. The attacker exfiltrates API keys, passwords, or sensitive information discussed in those conversations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
Spring AI fails to properly isolate conversation contexts when user-supplied input is passed directly as conversationId to VectorStoreChatMemoryAdvisor, allowing remote unauthenticated attackers to inject filter logic that exfiltrates sensitive data from other users' chat histories, including secrets and credentials. Exploitation requires moderately complex attack construction (AC:H) but no user interaction, affecting only applications with the specific vulnerable configuration pattern.
RemediationAI
Vendors must release a patched version of Spring AI that implements input validation and sanitization on the conversationId parameter, or enforce static, application-generated conversation identifiers rather than accepting user-supplied input. Affected applications should immediately audit code to identify any instances where conversationId is derived from user input, and implement one of the following compensating controls: (1) Use static, server-generated conversation identifiers instead of user-supplied values, regenerating them server-side and mapping them to user sessions; (2) If user-supplied conversationId is required, implement strict allowlist validation (e.g., alphanumeric characters only, maximum length) before passing to VectorStoreChatMemoryAdvisor; (3) Add database-layer access control to ensure queries for conversation history include an explicit user/session identifier filter that cannot be bypassed by conversationId injection. The first option eliminates the attack surface entirely with no performance impact. The second requires careful payload analysis to ensure the allowlist cannot be circumvented. The third adds query construction complexity but allows user-facing conversationId if needed. Monitor conversation history retrieval logs for anomalous patterns (requests accessing conversations belonging to different user sessions). For non-vulnerable versions and patched releases, consult https://spring.io/security/cve-2026-40966.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring AI's VectorStoreChatMemoryAdvisor component manages conversation history storage and retrieval using vector databases. The vulnerability stems from insufficient input validation on the conversationId parameter, which is used to construct database query filters. When an application directly passes user-supplied input as conversationId without sanitization, attackers can inject filter bypass logic (analogous to SQL injection or NoSQL injection patterns) to retrieve conversation records belonging to other users. The underlying issue is a lack of proper access control enforcement at the query construction layer (CWE-284: Improper Access Control), allowing an authenticated or unauthenticated actor to circumvent the intended conversation isolation boundary.
Know when Spring Ai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (vmware) · only source for this CVE.
CVSS VectorVendor: vmware
Lifecycle Timeline
3DescriptionCVE.org
In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials, by injecting filter logic through conversationId. Only applications that use VectorStoreChatMemoryAdvisor and pass user-supplied input as a conversationId are affected.
Blast Radius
ecosystem impact- 2 maven packages depend on org.springframework.ai:spring-ai-advisors-vector-store (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated
A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at
Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi
Filter expression injection in Spring AI 1.0.0-1.0.5 and 1.1.0-1.1.4 allows remote unauthenticated attackers to manipula
Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a
Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto
Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that
Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp
Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated
Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a
EUVD-2026-26002
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB