What’s Vulnerable › Vulnerabilities
CVE-2026-59319: RediSearch Tag Injection in RedisChatMemoryRepository Allows Cross-Conversation Data Exposure
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-27 · updated 2026-08-31
- Weakness: CWE-943
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
Affected products
How to fix
Upgrade to a fixed version: Spring AI 2.0.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-59319 or the next vulnerability affects your stack