CVE-2026-59308: Semantic Cache Cross-Tenant Isolation Bypass via SHA-256 Truncation

Published Aug 21, 2026
·
Updated

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

Affected Software

1 affected component
Spring Spring AI=2.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Spring AI (Semantic Cache) to a version that resolves this vulnerability.

    Fixed in 2.0.0
  2. Compensating control

    Until patched, ensure Semantic Cache is configured to prevent cross-tenant/system-prompt sharing so cached responses cannot be retrieved across unrelated contexts (e.g., isolate caches per tenant/prompt at the application or cache-store level).

Event History

Aug 21, 2026
CVE Published
via MITRE·12:07 PM
Data Sourced
via MITRE·12:07 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs network access and low-privileged access to the affected Spring AI deployment. Exploitation also has high attack complexity and does not require user interaction.

2

What is exposed if exploitation succeeds?

Cached responses may be shared across unrelated system-prompt contexts, undermining cross-tenant isolation. The stated impact includes limited confidentiality and integrity effects, with no availability impact.

3

Which version is identified as affected?

The affected version listed is Spring AI 2.0.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203