Skip to content
OpenAdvisories
High · 8.8 CVE-2026-40978 EUVD-2026-26011GHSA-63c8-m9m2-cvr3

Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()

Published Apr 28, 2026 · Updated Apr 29, 2026 · Assigned by vmware

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)

Affected products

VendorProductAffectedFixed
Spring Spring AI 1.0.0 – < 1.0.6, 1.1.0 – < 1.1.5 1.0.6

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.ai:spring-ai-azure-cosmos-db-store >= 1.0.0, < 1.0.6 1.0.6 GHSA-63c8-m9m2-cvr3
Maven org.springframework.ai:spring-ai-azure-cosmos-db-store >= 1.1.0, < 1.1.5 1.1.5 GHSA-63c8-m9m2-cvr3

References