cve.bz

CVE-2026-40978

8.8 highEPSS 0.3%

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)

CVSS 3.1
8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-26)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-63c8-m9m2-cvr3Mavenorg.springframework.ai:spring-ai-azure-cosmos-db-store>=1.0.0 <1.0.61.0.6
GHSA-63c8-m9m2-cvr3Mavenorg.springframework.ai:spring-ai-azure-cosmos-db-store>=1.1.0 <1.1.51.1.5

References

Check your stackJSON