CVE-2026-40978

HIGH

Spring AI 1.0.0-1.0.5 1.1.0-1.1.4 - SQL Injection via CosmosDBVectorStore Document ID

Title source: llm
STIX 2.1

Description

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)

References (1)

Core 1

Scores

CVSS v3 8.8
EPSS 0.0034
EPSS Percentile 25.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-89
Status published
Products (5)
org.springframework.ai/spring-ai-azure-cosmos-db-store 1.0.0 - 1.0.6Maven
org.springframework.ai/spring-ai-azure-cosmos-db-store 1.1.0 - 1.1.5Maven
Spring/Spring AI 1.0.0 - 1.0.6
Spring/Spring AI 1.1.0 - 1.1.5
vmware/spring_ai 1.0.0 - 1.0.6
Published Apr 28, 2026
Tracked Since Apr 28, 2026