CVE-2026-59319
RediSearch Tag Injection in RedisChatMemoryRepository Allows Cross-Conversation Data Exposure
- State
- Published
- Severity
- 4.3 Medium
- Published
- Aug 27, 2026
- Updated
- Aug 28, 2026
- Reserved
- Jul 4, 2026
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
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | vmware |
Weaknesses
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Affected Products
| Product | Versions |
|---|---|
Spring AISpring |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.