GitHub Advisoryadvisory · Maven

GHSA-63c8-m9m2-cvr3 Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()

HIGH Published 2026-04-28 Modified 2026-05-06 Official page ↗
Aliases
CVE-2026-40978
Ecosystem
Maven
Packages
org.springframework.ai:spring-ai-azure-cosmos-db-store
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2026-05-06

Affected packages

• Maven org.springframework.ai:spring-ai-azure-cosmos-db-store: >= 1.0.0, < 1.0.6 → fixed in 1.0.6 • Maven org.springframework.ai:spring-ai-azure-cosmos-db-store: >= 1.1.0, < 1.1.5 → fixed in 1.1.5

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).

Related

Alias · CVE (1)

  • CVE-2026-40978 SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL queries via crafted document IDs. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References