Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ai/spring-ai-vector-store
  4. ›
  5. CVE-2026-22738

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

March 27, 2026 (updated March 29, 2026)

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

  • github.com/advisories/GHSA-fvh3-672c-7p6c
  • github.com/spring-projects/spring-ai
  • github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29
  • github.com/spring-projects/spring-ai/releases/tag/v1.0.5
  • github.com/spring-projects/spring-ai/releases/tag/v1.1.4
  • nvd.nist.gov/vuln/detail/CVE-2026-22738
  • spring.io/security/cve-2026-22738

Code Behaviors & Features

Detect and mitigate CVE-2026-22738 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.0.5, all versions starting from 1.1.0-M1 before 1.1.4

Fixed versions

  • 1.0.5
  • 1.1.4

Solution

Upgrade to versions 1.0.5, 1.1.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.springframework.ai/spring-ai-vector-store/CVE-2026-22738.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:23 +0000.