CVE-2026-59319 RediSearch Tag Injection in RedisChatMemoryRepository Allows Cross-Conversation Data Exposure

Medium 4.3 Published Updated

Attackers can inject RediSearch syntax to expose chat messages from all conversations by exploiting unescaped metadata inputs in Spring AI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-59319?

CVE-2026-59319 is a medium-severity code injection vulnerability in Spring AI, published on 27 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadata values without applying RediSearchUtil.escape(), unlike get(), clear(), and findByTimeRange() in the same class which do escape their inputs. An application that passes user-controlled values to findByMetadata() on a tag-typed metadata field allows an attacker to inject RediSearch syntax (e.g. x} | *) that breaks out of the tag clause and matches all indexed chat messages across every conversation in the index. Spring AI 2.0.0

Weakness: CWE-943

Which versions are affected by CVE-2026-59319?

It affects 1 product.

Products include Vmware Spring Ai.

How do I fix CVE-2026-59319?

No fix has been published for CVE-2026-59319 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-59319 being exploited?

There is no known exploitation of CVE-2026-59319 in the wild and no public exploit code.

Sources

Also known as GHSA-7r3j-5666-wc3c.

Is CVE-2026-59319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free