SQL Injection Affecting org.springframework.ai:spring-ai-vector-store package, versions [1.0.0-M5,1.0.4)[1.1.0-M1,1.1.3)[2.0.0-M1,2.0.0-M3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (21st 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-15679673
  • published18 Mar 2026
  • disclosed17 Mar 2026
  • creditBlackf0g Team

Introduced: 17 Mar 2026

NewCVE-2026-22729  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-vector-store to version 1.0.4, 1.1.3, 2.0.0-M3 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection due to the AbstractFilterExpressionConverter's handling of operator characters, such as || and &&. This allows authenticated users to bypass metadata-based access controls by supplying arbitrary JSONPath queries to access unintended documents. Applications using vector stores that extend AbstractFilterExpressionConverter for multi-tenant isolation, role-based access control, or document filtering based on metadata are vulnerable to this bypass.

CVSS Base Scores

version 4.0
version 3.1