GitHub Advisoryadvisory · Maven

GHSA-fvh3-672c-7p6c Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key

CRITICAL Published 2026-03-27 Modified 2026-05-13 Official page ↗
Aliases
CVE-2026-22738
Ecosystem
Maven
Packages
org.springframework.ai:spring-ai-vector-store
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-88, CWE-917, CWE-94
Reviewed
2026-03-29

Affected packages

• Maven org.springframework.ai:spring-ai-vector-store: >= 1.0.0, < 1.0.5 → fixed in 1.0.5 • Maven org.springframework.ai:spring-ai-vector-store: >= 1.1.0-M1, < 1.1.4 → fixed in 1.1.4

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.

Related

Alias · CVE (1)

  • CVE-2026-22738 In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. vulnerability

Weakness · CWE (3)

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command weakness
  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness
  • CWE-94 Improper Control of Generation of Code weakness

References