ADVISORIES

GitHub Advisory Database

GHSA-fvh3-672c-7p6c

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

Critical CVE-2026-22738

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.springframework.ai:spring-ai-vector-store
From 1.0.0 before 1.0.5 (fixed in 1.0.5)
Mavenorg.springframework.ai:spring-ai-vector-store
From 1.1.0-M1 before 1.1.4 (fixed in 1.1.4)

References