Improper Neutralization of Special Elements in Output Used by a Downstream Component in Spring AI - CVE-2026-59319
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to disclose chat messages from other conversations.
The vulnerability exists due to improper neutralization of special elements in RedisChatMemoryRepository.findByMetadata() when building RediSearch tag queries from caller-supplied metadata values. A remote user can supply a crafted metadata value to disclose chat messages from other conversations.
The issue affects applications that pass user-controlled values to findByMetadata() on a tag-typed metadata field.