CVE-2026-22738: Spring AI SimpleVectorStore SpEL Injection Vulnerability

Summary

27/03/2026
Yes i
Critical
9.8

CVE-2026-22738: Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key. Affects org.springframework.ai:spring-ai-vector-store across 2 version ranges.

>= 1.0.0, < 1.0.5 >= 1.1.0-M1, < 1.1.4

Fixed in 1.0.5 or 1.1.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Spring AI is a framework that integrates artificial intelligence capabilities into Spring applications, enabling developers to build AI-driven features easily. The SimpleVectorStore component is designed to manage vector representations of data, allowing for efficient storage and retrieval. However, it has a critical vulnerability that arises when user-supplied values are used as filter expression keys, potentially leading to severe security risks.

Vulnerability Detail

In Spring AI, a SpEL (Spring Expression Language) injection vulnerability exists in the SimpleVectorStore component. This vulnerability is triggered when a user-supplied value is used as a filter expression key. A malicious actor could exploit this vulnerability to execute arbitrary code within the application, leading to unauthorized access, data manipulation, or complete system compromise. The affected versions are from 1.0.0 before 1.0.5 and from 1.1.0 before 1.1.4.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.0.5 1.0.5
  • >= 1.1.0-M1, < 1.1.4 1.1.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate patching is not feasible, consider sanitizing user input to prevent untrusted data from being used as filter expression keys. Implement strict validation and escaping mechanisms to ensure that only safe values are processed.

Conclusion

The SpEL injection vulnerability in Spring AI's SimpleVectorStore component poses a significant risk to applications using affected versions. It is crucial to update to the patched versions or implement workarounds to mitigate potential exploitation.

See every vulnerability recorded for org.springframework.ai:spring-ai-vector-store →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical severity level.

The affected versions are from 1.0.0 before 1.0.5 and from 1.1.0 before 1.1.4.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.

Exploitation of this vulnerability could allow attackers to execute arbitrary code, leading to unauthorized access, data breaches, or complete system compromise.

SpEL (Spring Expression Language) is a powerful expression language for querying and manipulating objects at runtime in Spring applications. This vulnerability arises when user input is improperly handled as a SpEL expression.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.ai:spring-ai-vector-store.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 1.0.5 1.0.5
  • >= 1.1.0-M1, < 1.1.4 1.1.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback