On this page
If you're using a Redis cache for Spring AI apps, then one user's cached response is able to be served to another user. Responses for the spring-ai-redis-semantic-cache module were all pooled together, segregated only by the hash of the system prompt. If you ask a question similar to what someone else has asked before then you'll get a cached response back, including any private data the original user may have added. The entries from the advisor don't ever expire and a bad one will sit there until it gets pulled.
The defect is CVE-2026-59417, announced on November 19, 2026 by the Spring team with CVSS 3.1 score of 9.1, which is critical. Network attack. No privileges needed. No user intervention needed. Confidentiality and integrity are high impact. They list CWE-200 (Sensitive Information Exposure), CWE-524 (Cache used for sensitive information), CWE-639 (Authorization Bypass Via User Controlled Key) and CWE-862 (Missing Authorization Check). Thanks to Sai Sreewathsa Kovalluri and Kannan K of Innspark Solutions, and to Daehyun Kang who independently reported it. Kang has a working proof of concept.
How the leak works
Semantic caching: an answer is used to answer a similar query later and the model isn't even invoked. There is the SemanticCacheAdvisor component in Spring AI that does this. It will check for the cache in Redis before the model is called and then store the result in cache afterwards. For each key, the advisor only used the hash of the system prompt. One app, two users had the same system prompt and were sharing a pool. In a normal deployment your prompt is always the same. It's the accounts and data that change. It didn't indicate who had the answer in the cache, so the answers couldn't be separated.
The poisoning half
If one could ask the app a question, then one can also enter data in the same pool. One good question, one planted answer. The following close question receives the answer of the app itself. There's no expiration for an answer written by an advisor. So a planted answer won't ever expire. Stays in Redis and gets served until the operator clears it. The proof-of-concept is public on github.
The second half of an earlier fix
One aspect of this bug has been fixed by a previous Spring team patch. CVE-2026-59308. Cache separation was done by system prompt. This fixed cache leakage between different apps from one cache to another. But it blended the users of one app. So the bit that's still open is CVE-2026-59417. It's fixed by a new part that then needs to be wired in by each app.
Who and what it covers
Affected versions of Spring AI are Spring AI 2.0.0 to 2.0.2, Spring AI 1.1.0 to 1.1.9, and Spring AI 1.0.0 to 1.0.10. You have to use the spring-ai-redis-semantic-cache module and you have to share a SemanticCacheAdvisor between end users. (see the module examples) The case that's exposed is that you have a support chatbot running on a single instance of an advisor, for logged in customers. It exposes cached responses and allows injecting new ones. But it doesn't expose the Redis database or the server that your app is running on.
Who is not in scope
If you have separate caches for each user then there is no common pool. For a one-person tool you don't need to worry about leaking it to anyone else. There isn't any exposure for apps which did not turn on the semantic cache advisor. Spring AI versions other than the three ranges above are not exposed.
The checks to run
Look at your version of Spring AI in your build file and compare it to the three ranges above. Do a search in the code for SemanticCacheAdvisor, and see how many there are, and whether they are shared. So the fact that it's a single deployment for all customers is significant. Check out what is in your cached answers too. The most painful ones involve apps that return responses that quote from account information or internal documents.
What this is not
It's not a Redis flaw. It's not a Spring AI chat model or vector store flaw either. There is no known use in attack. There are no known cases of exploitation in the wild and CISA doesn't have it in the Known Exploited Vulnerabilities catalog. Proof of concept is out. All you need is one app running with a shared advisor to give it a go.
How to fix
What you should do is upgrade to fixed version on your line (that is 2.0.3 for open source or 2.0.2.1, 1.1.10 and 1.0.11 for Enterprise Support). So they're requiring a SemanticCacheScopeResolver for the fixed versions. Whoever is in scope is up to the resolver. You'll feed the resolver from a trusted source (the authenticated principal) and not from something the end user can control. If you're unable to upgrade immediately, a workaround suggested by the advisory is to not use SemanticCacheAdvisor for applications that serve multiple end users or tenants. Flush your cache when you update. Old entries never expire, so a malicious answer added last week could persist after updating.
HOL's assessment
A cache is a trust decision. The decision here was to use the system prompt as a proxy for the user. If you're a team that operates the semantic cache for signed-in users, consider that existing answers in Redis are untrusted. The pool intentionally intermingled users and absorbed all data. Most important is to tie the resolver to the authenticated principal. If the end user has influence on the scope then it's not really a scope. If you are in a 1.x team you can either go through the enterprise channel or jump to 2.0 as no patch will be released for open source.
Sources
Spring security advisory, CVE-2026-59417, November 19, 2026: https://spring.io/security/cve-2026-59417
NVD entry for CVE-2026-59417: https://nvd.nist.gov/vuln/detail/CVE-2026-59417
Public proof of concept by Daehyun Kang: https://github.com/daehyuh/CVE-2026-59417
For CVE-2026-59417, what is the solution?
Update to Spring AI 2.0.3 or if you're on Enterprise Support, 2.0.2.1, 1.1.10, 1.0.11. Add a SemanticCacheScopeResolver that gets the scope from a trusted source like your authenticated principal. If you are unable to upgrade, do not use SemanticCacheAdvisor in your applications that serve multiple end users or tenants. Clear out the cache. Past records never expire.
Does anyone use CVE-2026-59417 for any attacks?
No. No one is known to be using it. And it's not in the CISA Known Exploited Vulnerabilities catalog. The proof of concept is public. Likely the first attempts to attack are not too far off.
What version of Spring AI is affected by CVE-2026-59417?
Spring AI from 2.0.0 up to 2.0.2 and 1.1.0 up to 1.1.9 and 1.0.0 up to 1.0.10, when using a shared SemanticCacheAdvisor on the spring-ai-redis-semantic-cache module.
Where to download Guard
HOL Guard is open source and free. You can use Guard Desktop on macOS 13+ (Apple silicon), Windows x64 and Linux x86_64. No terminal required. Also look at the installation page on hol.org/guard/install for a one command installation from terminal. Do run hol-guard doctor after the installation. That will confirm that the daemon is running and that the intercept layer is in place.
Reviewed . 3 questions.
For CVE-2026-59417, what is the solution?
Update to Spring AI 2.0.3 or if you're on Enterprise Support, 2.0.2.1, 1.1.10, 1.0.11. Add a SemanticCacheScopeResolver that gets the scope from a trusted source like your authenticated principal. If you are unable to upgrade, do not use SemanticCacheAdvisor in your applications that serve multiple end users or tenants. Clear out the cache. Past records never expire.
Does anyone use CVE-2026-59417 for any attacks?
No. No one is known to be using it. And it's not in the CISA Known Exploited Vulnerabilities catalog. The proof of concept is public. Likely the first attempts to attack are not too far off.
What version of Spring AI is affected by CVE-2026-59417?
Spring AI from 2.0.0 up to 2.0.2 and 1.1.0 up to 1.1.9 and 1.0.0 up to 1.0.10, when using a shared SemanticCacheAdvisor on the spring-ai-redis-semantic-cache module.
Sources
- Spring security advisory, CVE-2026-59417 — 2026-11-19
- NVD entry for CVE-2026-59417 — 2026-12-02
- Public proof of concept by Daehyun Kang — 2026-12-02