4.3Medium

CVE-2026-59319RediSearch Tag Injection in RedisChatMemoryRepository Allows Cross-Conversation Data Exposure

Spring Spring AI Published: (2 months ago)

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

Weakness (CWE): CWE-943

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Spring Spring AI 2.0.0
vmware spring ai 2.0.0 – < 2.0.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* ≥ 2.0.0 < 2.0.1