Improper Neutralization of Special Elements in Data Query Logic Affecting org.springframework.ai:spring-ai-model-chat-memory-repository-redis package, versions [2.0.0,2.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-19267414
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditTran Hoang Phuc Qua

Introduced: 20 Aug 2026

NewCVE-2026-59319  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-model-chat-memory-repository-redis to version 2.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic in the findByMetadata function. An attacker can access data from other conversations by injecting RediSearch syntax into user-controlled metadata fields.

CVSS Base Scores

version 4.0
version 3.1