CVE-2026-59348
Received Received - Intake

RediSearch Query Injection in RedisChatMemoryRepository

Vulnerability report for CVE-2026-59348, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

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 scope, allowing retrieval of, or interference with, chat messages outside the caller's own conversation. Any application that passes end-user-supplied content or metadata into RedisChatMemoryRepository's search methods is impacted.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
vmware redischatmemoryrepository *
vmware spring_ai From 2.0.0 (inc) to 2.0.2 (inc)
vmware spring_ai 2.0.3
vmware spring_ai 2.0.2.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

RedisChatMemoryRepository is vulnerable to RediSearch query injection when processing untrusted input. The repository builds RediSearch queries from user-supplied conversation content and metadata without proper escaping in all paths. Attackers can inject RediSearch query syntax to alter query structure, retrieving or interfering with chat messages outside the intended conversation scope.

Detection Guidance

To detect this vulnerability, inspect your application logs for RediSearch query patterns that include unexpected syntax or search terms. Check if any queries contain special characters like parentheses, quotes, or operators that could alter query structure. Review the RedisChatMemoryRepository search methods for untrusted input handling.

Impact Analysis

An attacker who controls input passed to RedisChatMemoryRepository's search methods can broaden searches beyond intended scope. This allows retrieval of or interference with chat messages outside the caller's own conversation, potentially exposing sensitive data or disrupting application functionality.

Compliance Impact

This vulnerability could lead to unauthorized access to chat messages, potentially exposing sensitive personal data. For GDPR, this may violate principles of data minimization and security. For HIPAA, it risks unauthorized disclosure of protected health information if chat content includes such data.

Mitigation Strategies

Upgrade to Spring AI version 2.0.3 (OSS) or 2.0.2.1 (Enterprise) to address the incomplete escaping in RediSearch query methods.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59348. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...