Arbitrary Code Injection Affecting org.springframework.ai:spring-ai-vector-store package, versions [,1.0.5)[1.1.0-M1,1.1.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.09% (27th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-15791528
  • published27 Mar 2026
  • disclosed27 Mar 2026
  • creditHyunwoo Kim, Cantina's AppSec agent (Apex)

Introduced: 27 Mar 2026

NewCVE-2026-22738  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-vector-store to version 1.0.5, 1.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the SimpleVectorStore function when unescaped user-supplied input is used as a filter expression key. An attacker can execute arbitrary code by supplying crafted input that is evaluated by the expression engine.

Note:

This is only exploitable if the application uses SimpleVectorStore and passes user-supplied input as a filter expression key.

CVSS Base Scores

version 4.0
version 3.1