8.6

CVE-2026-40967: spring spring ai Improper Control of Generation of Code

Analyzed
AliasesGHSA-qc4j-qjqx-vr58
Published 28-04-2026Last modified 29-04-2026

Vulnerability summary

CVE-2026-40967 is a high (CVSS 8.6) Improper Control of Generation of Code vulnerability in spring spring ai. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 28-04-2026
    PublishedVulnerability first disclosed.
  2. 29-04-2026
    Last 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

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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

References

3 links