CVE-2026-41705 — Vulnerability in spring-ai-milvus-store — CVE Details
Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.39%). Schedule for your next planned update.
Does your project use an affected org.springframework.ai:spring-ai-milvus-store version?
Paste your pom.xml to check it for CVE-2026-41705 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.
Summary
Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs. Spring AI 1.0.x: affected from 1.0.0 through latest 1.0.x; upgrade to 1.0.7 or greater. Spring AI 1.1.x: affected from 1.1.0 through latest 1.1.x; upgrade to 1.1.6 or greater.
Advisory Timeline
- First published May 9, 2026 (201 days ago).
- Last revised May 14, 2026 — 5 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.0.7 for org.springframework.ai:spring-ai-milvus-store -->
<!-- Update pom.xml dependency version to 1.1.6 for org.springframework.ai:spring-ai-typesense-store -->
<!-- Update pom.xml dependency version to 1.0.7 for org.springframework.ai:spring-ai-typesense-store -->
<!-- Update pom.xml dependency version to 1.1.6 for org.springframework.ai:spring-ai-milvus-store -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.springframework.ai:spring-ai-milvus-store Maven · Affected: 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+3 more) | 1.0.7 |
| org.springframework.ai:spring-ai-typesense-store Maven · Affected: 1.1.0, 1.1.1, 1.1.2, 1.1.3 (+2 more) | 1.1.6 |
| org.springframework.ai:spring-ai-typesense-store Maven · Affected: 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+3 more) | 1.0.7 |
| org.springframework.ai:spring-ai-milvus-store Maven · Affected: 1.1.0, 1.1.1, 1.1.2, 1.1.3 (+2 more) | 1.1.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-917
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
References
Frequently Asked Questions
- What is CVE-2026-41705?
- Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-41705?
- CVE-2026-41705 affects org.springframework.ai:spring-ai-milvus-store and org.springframework.ai:spring-ai-typesense-store. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41705 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 25% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-22738CRITICAL
Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key
- 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-22742HIGH
Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLs
- 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