CVE-2026-59308: Exposure of Resource to Wrong Sphere in Spring Spring AI
CVE-2026-59308 is a medium severity vulnerability in Spring AI version 2.0.0 where the Semantic Cache context hash does not properly isolate cached responses between different system prompts. This flaw could cause cached responses to be shared across unrelated contexts, potentially exposing data to unintended parties.
AI Analysis
Technical Summary
In Spring AI's Semantic Cache support, the mechanism that uses a context hash to isolate cached responses between different system prompts is flawed. Specifically, the context hash can allow cached responses to be shared across unrelated contexts, leading to exposure of resources to the wrong sphere. This affects Spring AI version 2.0.0. The CVSS v3.1 score is 4.2, indicating a medium severity with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and low confidentiality and integrity impacts.
Potential Impact
The vulnerability could lead to unintended sharing of cached responses between unrelated contexts, potentially exposing sensitive information to unauthorized contexts. The impact is limited to confidentiality and integrity with low severity, and there is no impact on availability. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Users should monitor vendor communications for updates and consider restricting access to affected versions until a fix is available.
CVE-2026-59308: Exposure of Resource to Wrong Sphere in Spring Spring AI
Description
CVE-2026-59308 is a medium severity vulnerability in Spring AI version 2.0.0 where the Semantic Cache context hash does not properly isolate cached responses between different system prompts. This flaw could cause cached responses to be shared across unrelated contexts, potentially exposing data to unintended parties.
CVSS v3.1
Score 4.2medium
Affected software
pkg:maven/org.springframework/spring-aiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Spring AI's Semantic Cache support, the mechanism that uses a context hash to isolate cached responses between different system prompts is flawed. Specifically, the context hash can allow cached responses to be shared across unrelated contexts, leading to exposure of resources to the wrong sphere. This affects Spring AI version 2.0.0. The CVSS v3.1 score is 4.2, indicating a medium severity with network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, and low confidentiality and integrity impacts.
Potential Impact
The vulnerability could lead to unintended sharing of cached responses between unrelated contexts, potentially exposing sensitive information to unauthorized contexts. The impact is limited to confidentiality and integrity with low severity, and there is no impact on availability. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Users should monitor vendor communications for updates and consider restricting access to affected versions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-07-04T18:13:46.709Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a884318acd9273b491e8758
Added to database: 08/21/2026, 12:22:48 UTC
Last enriched: 08/21/2026, 12:37:28 UTC
Last updated: 08/21/2026, 12:37:28 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.