CVE-2026-22738

SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution

Published Mar 27, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw is an expression language injection in Spring AI’s SimpleVectorStore, where an unescaped user‑supplied key is inserted directly into a SpEL filter expression. This allows an attacker to inject arbitrary Spring Expression Language code that is executed by the application, enabling full compromise of the host system. The weakness is a classic input validation failure (CWE‑917) and expression injection (CWE‑88) with severe consequences.

Affected Systems

Spring AI SimpleVectorStore versions earlier than 1.0.5 of the 1.0.x line and earlier than 1.1.4 of the 1.1.x line are vulnerable. Any deployment that uses SimpleVectorStore and passes user‑controlled values as filter keys is affected.

Risk and Exploitability

The issue carries a CVSS score of 9.8, indicating critical severity. The EPSS indicates an exploitation probability under 1 percent, and the vulnerability is not listed in the national known exploited vulnerabilities catalog, marking it as a high‑risk, yet not widely exploited threat. Based on the description, the attack vector would be remote, leveraging user input over a network or web interface to trigger the injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring AI to version 1.0.5 or newer, or to version 1.1.4 or newer.
  • If an upgrade is not possible, validate or escape all user‑supplied filter keys before passing them to SimpleVectorStore, ensuring only trusted expressions are evaluated.
  • Continuously monitor application logs for suspicious SpEL activity and maintain an incident response plan to address potential exploitation.

Generated by OpenCVE AI on May 10, 2026 at 15:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fvh3-672c-7p6c Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key
References
History
Type Values Removed Values Added
Weaknesses CWE-88
Type Values Removed Values Added
Weaknesses CWE-20
CWE-90
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Ai
Weaknesses CWE-917
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Ai
Type Values Removed Values Added
Weaknesses CWE-20
CWE-90
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
Weaknesses CWE-94
Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring
Type Values Removed Values Added
Description 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.
Title SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

  • CWE-917

    Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
May 10, 2026, 1:04 PM
Reserved
Jan 9, 2026, 6:54 AM
Status
Modified
Published
Mar 27, 2026, 6:16 AM
Modified
Oct 26, 2026, 9:10 PM