PT-2026-82722 · Spring+2 · Spring Ai

·

CVE-2026-59319

·

Published

2026-08-27

·

Updated

2026-08-27

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Spring AI version 2.0.0
Description The findByMetadata() function in RedisChatMemoryRepository constructs RediSearch tag and text queries using metadata values provided by the caller without applying RediSearchUtil.escape(). This differs from the get(), clear(), and findByTimeRange() functions in the same class, which properly escape inputs. If an application passes user-controlled values to findByMetadata() on a tag-typed metadata field, an attacker can inject RediSearch syntax to break out of the tag clause and retrieve all indexed chat messages across every conversation in the index.
Recommendations Update Spring AI to a version newer than 2.0.0. As a temporary mitigation, avoid passing user-controlled values to the findByMetadata() function.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-59319

Affected Products

Spring Ai