Skip to main content

Spring AI CVE-2026-59308

| EUVDEUVD-2026-63932 MEDIUM
Exposure of Resource to Wrong Sphere (CWE-668)
2026-08-21 security@vmware.com GHSA-h4jw-w55g-65gf
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Identify target system prompt context
  3. Exploit
    Craft semantically similar query to cached entry
  4. Execution
    Submit query and trigger context hash collision
  5. Persist
    Receive cached response from unrelated security context
  6. Impact
    Extract disclosed information

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must use Spring AI 2.0.0's Semantic Cache feature and must configure it across multiple distinct system prompt contexts - for example, a multi-tenant deployment where different tenants or roles operate under different system prompts that define data-access scope. The attacker must hold a low-privilege authenticated account (PR:L per CVSS vector). High attack complexity (AC:H) limits exploitation: the attacker must craft or discover a query that semantically matches a cached entry from the target context, requiring either prior knowledge of queries submitted in that context or significant probing. Single-context deployments - where all users share one system prompt - and deployments with Semantic Cache disabled are not affected by this vulnerability.

Impact

The CVSS 4.2 score (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N) reflects a moderate, constrained risk profile: the vulnerability is network-reachable but requires high attack complexity and authenticated low-privilege access. No EPSS data was provided, no CISA KEV listing is present, and no public POC exists at time of analysis - all signals pointing toward low exploitation urgency for the broad population of deployments. Real-world impact is highly context-dependent: a multi-tenant AI service where different system prompts enforce distinct data-access boundaries faces materially higher exposure than a single-context or single-tenant deployment. The low confidentiality and integrity impact ratings (C:L/I:L) are consistent with partial information leakage and potential response manipulation rather than full data exfiltration or system compromise; there is no availability impact. The CVSS complexity rating of AC:H is consistent with the requirement that an attacker craft queries semantically similar enough to collide with cached entries from a different context - a non-trivial task absent knowledge of prior queries.

Exploit ScenarioDerived

An authenticated low-privilege user submits a query that is semantically similar to a query previously processed under a different system prompt - for example, one scoped to a different tenant or privileged role. The Semantic Cache evaluates the query as a cache hit based on semantic proximity without correctly verifying the system prompt context boundary, and returns the cached response from the unrelated context, disclosing information or instructions intended for a different principal. No public POC exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 21, 2026

Spring AI 2.0.0's Semantic Cache feature leaks cached LLM responses across unrelated system prompt contexts due to insufficient isolation in the context hashing mechanism. Applications using semantic caching across multiple tenants or security domains - where different system prompts define distinct access boundaries - are at risk of cross-context information disclosure and response tampering. Exploitation requires authenticated access and high attack complexity (AC:H, PR:L); no public exploit code and no CISA KEV listing exist at time of analysis.

RemediationAI

Consult the Spring security advisory at https://spring.io/security/cve-2026-59308 for the authoritative patched release version, as no specific fixed release number was included in the available intelligence data; verify against Spring AI release notes and the upstream GitHub repository directly. As a compensating control pending a patch, disable the Semantic Cache feature entirely if your application serves multiple security contexts with different system prompts - this eliminates the vulnerable code path at the cost of increased LLM API calls and added latency. Alternatively, restrict Semantic Cache use to single-context deployments where all callers share the same system prompt and trust level, ensuring no cross-context isolation boundary exists to violate. Once a patched version is released, upgrading supersedes all workarounds.

Affected VersionsENISA

Spring AI 2.0.0

Affected Packages

euvd spring_ai no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring AI is a Java framework (reported by security@vmware.com, part of the VMware/Broadcom Spring ecosystem) that provides abstractions for integrating large language models into enterprise applications. Its Semantic Cache component caches LLM responses keyed by semantic similarity to reduce redundant API calls and latency. CWE-668 (Exposure of Resource to Wrong Sphere) applies here: the hash used to partition cached responses by system prompt context is insufficiently collision-resistant or improperly scoped, allowing a request operating under one system prompt to retrieve a cached response originally generated under a different, unrelated system prompt. This breaks the isolation guarantee that Semantic Cache is meant to enforce between distinct application contexts or tenants.

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

NVD PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.2 MEDIUM

Network-reachable but high complexity to craft semantically colliding queries; authenticated low-privilege required; no availability impact; partial confidentiality and integrity loss from cross-context cache leakage.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

1
CVSS changed
Sep 16, 2026 - 14:07 NVD
4.2 (MEDIUM) 4.3 (MEDIUM)

DescriptionNVD

In Spring AI's Semantic Cache support, the context hash used to isolate cached responses between different system prompts could allow cached responses to be shared across unrelated contexts. Affected versions: Spring AI: 2.0.0

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
Spring AI 2.0.0 is a recent release with limited production adoption
Data Quality
6 sources
Confidence: High

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.2%
Patch available No
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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