CVE Watchtower

CVE-2026-59348Spring AI Improper Neutralization of Special Elements in Data Query Logic

Spring

Vulnerability Summary

Incomplete Escaping in RedisChatMemoryRepository Query Methods. 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. Affected artifact: org.springframework.ai:spring-ai-model-chat-memory-repository-redis.
Severity Level
MEDIUM(4.8)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.
CVSS v3.1 Base Metrics — Score 4.8 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Spring AI 2.0.0 through 2.0.2
Patched Versions
  • Spring AI 2.0.3 (open source)
  • Spring AI 2.0.2.1 (commercial support only)

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Spring AI and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 19, 2026Published
  • Nov 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Spring AI CVEsYou are reading CVE-2026-59348. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 24, 2026 05:01 UTC