Vulnerability · Published Apr 28, 2026 · Assigned by vmware

CVE-2026-40978

High 8.8

In plain English

A high-severity SQL injection in Spring AI from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.3%top 72.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.ai:spring-ai-azure-cosmos-db-store1.0.6GHSA-63c8-m9m2-cvr3
Mavenorg.springframework.ai:spring-ai-azure-cosmos-db-store1.1.5GHSA-63c8-m9m2-cvr3

Affected products (as reported)

VendorProductVersions
Spring Spring AI 1.0.0 – before 1.0.61.1.0 – before 1.1.5

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References