8.8High

CVE-2026-40978

Spring Spring AI Published: (6 months ago)

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)

Weakness (CWE): CWE-89

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Spring Spring AI 1.0.0 – < 1.0.6, 1.1.0 – < 1.1.5
vmware spring ai 1.0.0 – < 1.0.6

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* ≥ 1.0.0 < 1.0.6
  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* ≥ 1.1.0 < 1.1.5