CVE-2026-22738 — Vulnerability in...
Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key
Summary
Advisory Timeline
- First published March 27, 2026 (199 days ago).
- Last revised May 13, 2026 — 47 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.0.5 for org.springframework.ai:spring-ai-vector-store -->
<!-- Update pom.xml dependency version to 1.1.4 for org.springframework.ai:spring-ai-vector-store -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.ai:spring-ai-vector-store | maven | 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 | 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.
- CWE-88
- CWE-917
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22738ADVISORY
- https://github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29WEB
- https://github.com/spring-projects/spring-aiPACKAGE
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5WEB
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4WEB
- https://spring.io/security/cve-2026-22738WEB
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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22738 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-41713HIGH
Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor
- CVE-2026-40978HIGH
Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
- CVE-2026-22730HIGH
SQL Injection in Spring AI MariaDBFilterExpressionConverter
- CVE-2026-47835HIGH
Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2026-41712HIGH
Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage
- CVE-2026-40967HIGH
Spring AI has a VectorStore FilterExpression Converter injection
- CVE-2026-22729HIGH
JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter
- CVE-2026-41705HIGH
Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies