CVE-2026-40989: Spring Cloud Function · Uncontrolled Recursion
Affects Spring Cloud FunctionSource CVE Database V5
Not known to be exploited · CVSS 5.7 Medium · fixed in 5.0.2 : update Spring Cloud Function when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.2, 4.3.3, 4.2.6 +2
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Cloud Function | Affected
| Fixed in
|
| SpringSpring Cloud Function | Affected
| Fixed in
|
| SpringSpring Cloud Function | Affected
| Fixed in
|
| SpringSpring Cloud Function | Affected
| Fixed in
|
| SpringSpring Cloud Function | Affected
| Fixed in
|
Mavenorg.springframework.cloud/spring-cloud-functionpkg:maven/org.springframework.cloud/spring-cloud-functionOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider limiting exposure of affected components and monitoring for abnormal resource usage related to recursion in the routing layer.
Description
CVE-2026-40989 is a medium severity vulnerability in Spring Cloud Function involving uncontrolled recursion in the routing layer. This flaw can cause an out-of-memory (OOM) condition, resulting in denial of service. It does not affect confidentiality but impacts availability due to resource exhaustion. The vulnerability affects specific versions of Spring Cloud Function.