CVE-2026-40967: spring spring ai Code Injection
Vulnerability summary
CVE-2026-40967 is a high (CVSS 8.6) Code Injection vulnerability in spring spring ai. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.8% of scored vulnerabilities.
Timeline
- 28-04-2026PublishedVulnerability first disclosed.
- 29-04-2026Last modifiedVulnerability information updated.
Description
In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query. 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- OSV · MavenEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.39% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.springframework.ai1 product
- spring-ai-vector-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