Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59308: Exposure of Resource to Wrong Sphere in Spring Spring AI

0
Medium
VulnerabilityCVE-2026-59308cvecve-2026-59308
Published: 08/21/2026 (08/21/2026, 12:07:07 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

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

Affected software

org.springframework/spring-ai
pkg:maven/org.springframework/spring-ai
Affected versions
=2.0.0

Run 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

AILast updated: 08/21/2026, 12:37:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses