Skip to main content

CVE-2026-22738 — Vulnerability in spring-ai-vector-store — CVE Details

CRITICAL

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

Published March 27, 2026Updated May 13, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.81%). Schedule for your next planned update.

Does your project use an affected org.springframework.ai:spring-ai-vector-store version?

Paste your pom.xml to check it for CVE-2026-22738 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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.

Advisory Timeline

  • First published March 27, 2026 (244 days ago).
  • Last revised May 13, 2026 — 47 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.ai:spring-ai-vector-store to 1.0.5 or later
<!-- Update pom.xml dependency version to 1.0.5 for org.springframework.ai:spring-ai-vector-store -->
Maven
Update org.springframework.ai:spring-ai-vector-store to 1.1.4 or later
<!-- Update pom.xml dependency version to 1.1.4 for org.springframework.ai:spring-ai-vector-store -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.springframework.ai:spring-ai-vector-store Maven · Affected: 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+1 more)1.0.5
org.springframework.ai:spring-ai-vector-store Maven · Affected: 1.1.0, 1.1.0-M1, 1.1.0-M2, 1.1.0-M3 (+5 more)1.1.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-22738?
Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-22738?
CVE-2026-22738 affects org.springframework.ai:spring-ai-vector-store. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22738 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.81%
EPSS percentile: 53.7

This is an above-median EPSS score — 53.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-fvh3-672c-7p6c

Related CVEs

  • CVE-2026-41713
    HIGH

    Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor

  • CVE-2026-40978
    HIGH

    Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()

  • CVE-2026-22730
    HIGH

    SQL Injection in Spring AI MariaDBFilterExpressionConverter

  • CVE-2026-47835
    HIGH

    Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores

  • CVE-2026-41712
    HIGH

    Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage

  • CVE-2026-40967
    HIGH

    Spring AI has a VectorStore FilterExpression Converter injection

  • CVE-2026-22729
    HIGH

    JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter

  • CVE-2026-41705
    HIGH

    Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml