Skip to content
MediumVulnerability

CVE-2026-59319: RedisChatMemoryRepository.findByMetadata() builds RediSearch tag and text queries from caller-supplied metadata values…

Identifier
CVE-2026-59319
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

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

Mitigation

The source does not state a fix yet. Check the original advisory for updates.