Read the docs

Query injection in Spring AI RedisChatMemoryRepository search methods

Priority LOW 37Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Spring AI's RedisChatMemoryRepository builds RediSearch queries from caller-supplied conversation content and metadata, and some query-building paths lack the escaping that a prior fix added to one path. An attacker who controls a value passed into an unescaped path can inject RediSearch query syntax that changes the executed query, broadening searches to chat messages outside the caller's conversation. Applications that pass end-user content or metadata into the repository's search methods are affected. The affected versions are from 2.0.0 before 2.0.2.1 and from 2.0.0 before 2.0.3 of Spring AI.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

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.

Why it matters now

Fix Fixed Spring AI (Spring): 2.0.2.1, 2.0.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring AI2.0.0 to before 2.0.2.1; 2.0.0 to before 2.0.32.0.2.1, 2.0.3Patch availableCNA
  • Spring AI VendorVMware Affected 2.0.0 to before 2.0.2.1; 2.0.0 to before 2.0.3 Fixed in 2.0.2.1, 2.0.3 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*——VMware
  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* Versions — — ·VMware

Remediation

Upgrade Spring AI to 2.0.2.1 or 2.0.3, the fixed versions listed for this product. The sources list no advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

  • Fix · CNA Spring AI (Spring) Fixed in 2.0.2.1, 2.0.3

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-59348
  2. 2026-12-02 Alias added: GHSA-cw7h-ww36-rjwf

References

  • TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
See all 1214 →

Sources