Improper Neutralization of Special Elements in Data Query Logic Affecting org.springframework.ai:spring-ai-advisors-vector-store package, versions [,1.0.6)[1.1.0-M1, 1.1.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th 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 Learn

Learn about Improper Neutralization of Special Elements in Data Query Logic vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-16316424
  • published29 Apr 2026
  • disclosed27 Apr 2026
  • creditJinyeong Seol, Cantina's AppSec agent, Apex

Introduced: 27 Apr 2026

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

How to fix?

Upgrade org.springframework.ai:spring-ai-advisors-vector-store to version 1.0.6, 1.1.5 or higher.

Overview

org.springframework.ai:spring-ai-advisors-vector-store is a Chat client advisors for Spring AI

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the conversationId handling in VectorStoreChatMemoryAdvisor. An attacker can bypass conversation isolation and exfiltrate sensitive data from other users’ chat histories by injecting crafted filter logic through a user-controlled conversationId, allowing access to secrets and credentials.

CVSS Base Scores

version 4.0
version 3.1