Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
7Blast Radius
ecosystem impact- 1 maven packages depend on org.springframework.ai:spring-ai-azure-cosmos-db-store (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.0.0.
DescriptionCVE.org
SQL injection vulnerability in Spring AI's CosmosDBVectorStore allows attackers to execute arbitrary SQL queries via crafted document IDs.
Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)
AnalysisAI
SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated remote attackers to execute arbitrary SQL queries through malicious document IDs, potentially achieving full database compromise including data exfiltration, modification, and denial of service. VMware has released patches in versions 1.0.6 and 1.1.5. CVSS score of 8.8 reflects high impact across confidentiality, integrity, and availability, though exploitation requires low-privilege authenticated access to the vector store API.
Technical ContextAI
Spring AI is a Java framework for building AI applications with vector database integrations. The CosmosDBVectorStore component provides integration with Azure Cosmos DB for vector similarity search operations. This CWE-89 SQL injection vulnerability occurs when user-controlled document IDs are improperly sanitized before being incorporated into SQL queries sent to the underlying Cosmos DB. The vulnerability affects the document ID parameter handling, which should be treated as untrusted input but is instead passed directly into SQL query construction. Standard SQL injection attack techniques apply: attackers can break out of the intended query context using metacharacters, append malicious SQL statements, or use UNION-based injection to extract arbitrary data from the database.
RemediationAI
Upgrade to Spring AI version 1.0.6 (for 1.0.x series users) or version 1.1.5 (for 1.1.x series users), both of which contain fixes for the SQL injection vulnerability per VMware's security advisory at https://spring.io/security/cve-2026-40978. If immediate patching is not feasible, implement strict input validation on document IDs before they reach the CosmosDBVectorStore API: whitelist alphanumeric characters only, reject any IDs containing SQL metacharacters (quotes, semicolons, dashes, parentheses), and enforce maximum length limits. Additionally, ensure the Cosmos DB connection uses a database account with minimum necessary privileges (read/write to specific collections only, no admin rights) to limit blast radius if SQL injection occurs. Network segmentation to restrict Cosmos DB access to application servers only provides defense-in-depth but does not prevent authenticated application users from exploiting the vulnerability. These workarounds reduce but do not eliminate risk - patching remains the only complete remediation.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26011
GHSA-63c8-m9m2-cvr3