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
References
| Link | Resource |
|---|---|
| https://spring.io/security/cve-2026-59319 | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-08-27 20:17
Updated : 2026-08-31 17:18
NVD link : CVE-2026-59319
Mitre link : CVE-2026-59319
CVE.ORG link : CVE-2026-59319
JSON object : View
Products Affected
vmware
- spring_ai
CWE
CWE-943
Improper Neutralization of Special Elements in Data Query Logic
