Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key
Critical severity
GitHub Reviewed
Published
Mar 27, 2026
to the GitHub Advisory Database
•
Updated Mar 29, 2026
Package
Affected versions
>= 1.0.0, < 1.0.5
>= 1.1.0-M1, < 1.1.4
Patched versions
1.0.5
1.1.4
Description
Published by the National Vulnerability Database
Mar 27, 2026
Published to the GitHub Advisory Database
Mar 27, 2026
Reviewed
Mar 29, 2026
Last updated
Mar 29, 2026
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