Skip to main content
VulnerabilityPublished

CVE-2026-40989: Spring Cloud Function · Uncontrolled Recursion

Affects Spring Cloud FunctionSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SpringSpring Cloud FunctionAffected
  • >=5.0.0 <5.0.2
Fixed in
  • 5.0.2
SpringSpring Cloud FunctionAffected
  • >=4.3.0 <4.3.3
Fixed in
  • 4.3.3
SpringSpring Cloud FunctionAffected
  • >=4.2.0 <4.2.6
Fixed in
  • 4.2.6
SpringSpring Cloud FunctionAffected
  • >=4.1.0 <4.1.10
Fixed in
  • 4.1.10
SpringSpring Cloud FunctionAffected
  • >=3.2.0 <3.2.16
Fixed in
  • 3.2.16
Mavenorg.springframework.cloud/spring-cloud-functionpkg:maven/org.springframework.cloud/spring-cloud-functionOther threatsAffected
  • 3.2.0 – 5.0.0
5 affected builds
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.

References

Community reviews

Loading reviews…