8.8

CVE-2026-40978: spring spring ai SQL Injection

CVSS: 8.8v3.1HighAnalyzed
AliasesGHSA-63c8-m9m2-cvr3
Published 28-04-2026Last modified 29-04-2026

Vulnerability summary

CVE-2026-40978 is a high (CVSS 8.8) SQL Injection vulnerability in spring spring ai. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 36.7% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-04-2026
    PublishedVulnerability first disclosed.
  2. 29-04-2026
    Last modifiedVulnerability information updated.

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)

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

+0.10 pp

From 0.34% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Org.springframework.ai1 product
  • spring-ai-azure-cosmos-db-store≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5
Spring1 product
  • spring ai≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5
Vmware1 product
  • spring_ai≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5

3 vendors · 3 products

References

3 links