CVE-2026-59417 concerns a boundary that an AI application can miss even when Redis access is restricted: which authenticated user may receive a cached answer. Spring AI applications using Redis-backed semantic caching need both a corrected release and a scope that follows the application’s trusted security context. Similar questions do not establish that two callers may share the same response.
Die Spring security advisory, published November 19, 2026, describes semantic caching that does not adequately account for the calling user’s principal. The result can be reuse across security boundaries, including exposure of information or cache poisoning. This concerns the affected caching path; it does not mean every Redis deployment or every Spring AI application exposes answers.
Choose the corrected release for the support track
| Support track | Affected releases | Advisory correction |
|---|---|---|
| Open source 2.x | 2.0.0–2.0.2 | 2.0.3 |
| Commercial 2.x | 2.0.0–2.0.2 | 2.0.2.1 |
| Commercial 1.1.x | 1.1.0–1.1.9 | 1.1.10 |
| Commercial 1.0.x | 1.0.0–1.0.10 | 1.0.11 |
Use the advisory as the version authority. The rolling upgrade documentation explains current API behavior and migration work; its section placement should not override the security release matrix. Record the dependency actually resolved into the deployed application, including any overridden or shaded copy, before treating a build-file edit as remediation.
A required resolver still needs a meaningful scope
Die migration notes require an explicit SemanticCacheScopeResolver für SemanticCacheAdvisor. Scope should come from authenticated principal, tenant, or equivalent trusted context. A user-supplied identity inside the prompt does not establish that identity. Likewise, one constant shared by all users creates one shared cache boundary, however securely Redis itself is hosted.
Current migration semantics also change the previous implicit system-prompt boundary. When a system policy, retrieval entitlement, or policy revision affects which answer a caller may receive, include that distinction in the application’s scope design. This is a security-policy decision: two requests may share a cache only when they are allowed to share the resulting answer.

Keep a small isolation evidence matrix
Use an isolated Redis namespace and synthetic canary answers. Replace the model call with a controlled test double where practical, so cache reuse can be distinguished from fresh generation. The following expected outcomes are a proposed validation method, not tests performed for this article.
| Case | Evidence to retain |
|---|---|
| Principal A repeats an eligible question | A hit is possible within the same authorized scope. |
| Principal B asks the same question | A’s scoped canary answer is not reused for B. |
| Resolver returns null or blank | Both cache reads and writes are bypassed. |
| Security-relevant policy version changes | The changed scope prevents reuse of an answer from the earlier policy. |
| Legacy cache entry remains | Its old context hash does not match the new scheme; storage retention is handled explicitly. |
Observe both the returned answer and whether the cache and provider paths were invoked. A plausible response alone cannot show where it originated. Keep sensitive customer prompts out of this check, and state which principal and entitlement distinctions the chosen scope represents.
Separate authorization from cache housekeeping
Die Redis integration documentation describes context-hash-scoped matching and optional cache TTL, with no expiry by default. Expiring old answers can reduce retention, but it does not supply missing principal isolation. Entries under the earlier context-hash scheme no longer match; decide separately whether to clear them or let an explicit retention policy remove them.
Custom SemanticCache implementations need attention too: their lookup and write paths must honor the context hash instead of silently ignoring it. Close the issue with three records: the running corrected artifact, the trusted scope contract, and observed isolation outcomes. A dependency version alone does not establish trusted scoping or observed isolation.

For an AI pentesting workflow, retain this matrix with authorized assessment evidence. The official Penligent 3.0 video below demonstrates a general product workflow; it does not demonstrate this CVE’s exploitation or remediation.
Method: AI-assisted synthesis checked against Spring’s advisory and current migration and Redis documentation on December 2, 2026. The evidence matrix is editorial analysis. No first-hand cache reproduction, customer leak, or deployment test is claimed.

