CVE-2026-22738: Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key
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.
Published Mar 27, 2026 · Updated May 13, 2026
Affected packages
org.springframework.ai:spring-ai-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.0.0, < 1.0.5
- Fixed in
- 1.0.5
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-vector-store
org.springframework.ai:spring-ai-vector-store
- Ecosystem
- Maven
- Affected
- >= 1.1.0-M1, < 1.1.4
- Fixed in
- 1.1.4
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-vector-store
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22738
- https://spring.io/security/cve-2026-22738
- https://github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4
- https://github.com/advisories/GHSA-fvh3-672c-7p6c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
