CRITICAL 9.8

CVE-2026-22738

Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key

Description

In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code. Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are affected.

This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-vector-store
>= 1.0.0, < 1.0.5>= 1.1.0-M1, < 1.1.4
1.0.5, 1.1.4

Blast radius

1affected artifacts
14affected versions
388dependent artifacts (est.)
2,402dependent versions

25% of the dependent artifacts (99) still pull an affected version in their latest release.

DepthDependent versions
Direct
546
2 hops
800
3 hops
558
4 hops
384
5 hops
29
6 hops
85

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.