SpEL Injection Vulnerability in Spring AI Affects SimpleVectorStore
CVE-2026-22738
Key Information:
Badges
What is CVE-2026-22738?
CVE-2026-22738 is a critical vulnerability affecting Spring AI, specifically within the SimpleVectorStore component. This vulnerability arises from a SpEL (Spring Expression Language) injection flaw, where an attacker can manipulate user-supplied input used as a filter expression key. Such manipulation could allow the execution of arbitrary code within the application that employs SimpleVectorStore. Organizations utilizing this component in their AI-driven applications are at risk, as unauthorized access could lead to significant security breaches and compromise the integrity of system operations. The flaw affects specific versions of Spring AI, ranging from 1.0.0 up to 1.0.5, and from 1.1.0 up to 1.1.4, making it essential for users of these software versions to be aware of the potential implications.
Potential impact of CVE-2026-22738
-
Arbitrary Code Execution: The most immediate risk posed by this vulnerability is the possibility for attackers to execute arbitrary code. If successfully exploited, an attacker could run malicious commands within the application's environment, potentially compromising sensitive data and system functionality.
-
Data Breach Risks: Given the nature of the vulnerability, successful exploitation could lead to unauthorized access to confidential information. This could result in significant data breaches that could harm organizational reputation and result in legal consequences.
-
System Compromise and Malware Propagation: The vulnerability could enable attackers to gain control over affected systems, allowing them to install additional malware or ransomware. This could facilitate further attacks on the network and propagate malicious activities beyond the initial point of exploitation.
Affected Version(s)
Spring AI 1.0.0 < 1.0.5
Spring AI 1.1.0 < 1.1.4
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
