INCIDENT MAP

Browse / RAG and Vector Store Weaknesses / CVE-2026-22738

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

CVE-2026-22738 · 2026-03-27 critical

Class
RAG and Vector Store Weaknesses (filed by a model that read the advisory)
Technique
Code and command execution
Also involves
AI Framework and Platform Flaws
Affected
org.springframework.ai:spring-ai-vector-store (Maven)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% chance of exploitation in 30 days

How it works, in short

User-supplied values used as keys in SimpleVectorStore filter expressions are evaluated as SpEL, allowing arbitrary code execution. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.