Improper Neutralization of Special Elements in Output Used by a Downstream Component in Spring AI - CVE-2026-59319

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in Spring AI - CVE-2026-59319

Published: August 31, 2026


Vulnerability identifier: #VU146398
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59319
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Spring AI

How to mitigate CVE-2026-59319

Install security update from vendor's website.

Spring AI - addressed in versions 2.0.0.1, 2.0.1

External References

Related Security Bulletins