Skip to main content
← All vulnerabilities
CVE-2026-40978GHSA-63C8-M9M2-CVR3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.6, 1.1.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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)

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • Spring Spring AI

    From 1.0.0 · fixed in 1.0.6; From 1.1.0 · fixed in 1.1.5

  • org.springframework.ai:spring-ai-azure-cosmos-db-storeMaven

    From 1.0.0 · fixed in 1.0.6

  • org.springframework.ai:spring-ai-azure-cosmos-db-storeMaven

    From 1.1.0 · fixed in 1.1.5

References 1

spring.io