Semantic Cache Cross-Tenant Isolation Bypass via SHA-256 Truncation

MEDIUM | AUGUST 20, 2026 | CVE-2026-59308

Description

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 Spring Products and Versions

Spring AI:

  • 2.0.0 - 2.0.0

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
2.0.1OSS
2.0.0.1Enterprise Support Only

No further mitigation steps are necessary.

Credit

The issue was reported responsibly by Wayde Shi ([email protected]), from PayPal.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all