# CVE-2026-59348: Incomplete Escaping in RedisChatMemoryRepository Query Methods

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59348 · JSON: https://cvemate.com/vulnerability/CVE-2026-59348/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.344%, percentile 29.877%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring ai: ≥ 2.0.0, \< 2.0.2.1 \| ≥ 2.0.0, \< 2.0.3

## References

- <https://spring.io/security/cve-2026-59348>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N&version=3.1>

---

Data as of 2026-12-05T04:05:07.209Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
