Skip to main content

Spring AI EUVDEUVD-2026-26002

| CVE-2026-40966 MEDIUM
Improper Access Control (CWE-284)
2026-04-28 vmware
5.9
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request with injected conversationId
  2. Delivery
    VectorStoreChatMemoryAdvisor constructs unvalidated query
  3. Exploit
    Vector database executes filter bypass
  4. Execution
    Retrieve unauthorized user conversations
  5. Impact
    Extract 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring AI 1.0.0 <1.0.6
Spring AI 1.1.0 <1.1.5

Affected Packages

maven org.springframework.ai:spring-ai-advisors-vector-store fix: 1.0.6, 1.1.5
euvd spring_ai fix: 1.0.6, 1.1.5

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

Vendor (vmware) PRIMARY 5.9 MEDIUM
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 18:18 nvd
Patch available
Patch available
Apr 28, 2026 - 09:01 EUVD
CVE Published
Apr 28, 2026 - 06:42 nvd
MEDIUM 5.9

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-59318 CRITICAL
9.8 Aug 21

Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-40978 HIGH
8.8 Apr 28

SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated

CVE-2026-22730 HIGH
8.8 Mar 18

A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at

CVE-2026-22729 HIGH
8.6 Mar 18

Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi

CVE-2026-40967 HIGH
8.6 Apr 28

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

CVE-2026-22742 HIGH
8.6 Mar 27

Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a

CVE-2026-41705 HIGH
8.6 May 09

Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto

CVE-2026-41713 HIGH
8.2 May 12

Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that

CVE-2026-47835 HIGH
7.5 Jun 15

Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp

CVE-2026-59279 HIGH
7.5 Aug 21

Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated

CVE-2026-47851 HIGH
7.5 Aug 26

Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a

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