## cve-2026-59348 - MEDIUM - Incomplete Escaping in RedisChatMemoryRepository Query Methods

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59348
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59348)
- パーマリンク: https://vulnpulse.app/items/spring-security-ccaa5bca0de9

RedisChatMemoryRepository is vulnerable to RediSearch query injection when processing untrusted input. The repository builds RediSearch queries from caller-supplied conversation content and metadata values. A prior fix added escaping to one of these query-building paths, but other paths that construct queries the same way were left unescaped. An attacker who controls a value passed into one of the unescaped paths can include RediSearch query syntax that alters the structure of the executed query rather than being treated as plain search text. This can broaden a search beyond its intended scop…