6.5

CVE-2026-40989: Self Routing guard bypassed via function composition

Analyzed
AliasesGHSA-x9c7-5h6g-hq8q
Published 01-06-2026Last modified 01-06-2026

Vulnerability summary

CVE-2026-40989 is a medium (CVSS 6.5) Uncontrolled Recursion vulnerability in spring spring cloud function. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, physical access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-06-2026
    PublishedVulnerability first disclosed.
  2. 01-06-2026
    Last modifiedVulnerability information updated.

Description

Under infinite recursion in the routing layer, request-handling can cause OOM error. Affected Spring Products and Versions: Spring Cloud Function 3.2.x: versions prior to 3.2.16 Spring Cloud Function 4.1.x: versions prior to 4.1.10 Spring Cloud Function 4.2.x: versions prior to 4.2.6 Spring Cloud Function 4.3.x: versions prior to 4.3.3 Spring Cloud Function 5.0.x: versions prior to 5.0.2 Older, unsupported versions are also affected.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% 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: physical access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Org.springframework.cloud1 product
  • spring-cloud-function-context≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.2 | ≥ 3.2.10, ≤ 3.2.15 | ≥ 4.1.0, ≤ 4.1.9 | ≥ 4.2.0, ≤ 4.2.5
Spring1 product
  • spring cloud function≥ 3.2.0, < 3.2.16 | ≥ 4.1.0, < 4.1.10 | ≥ 4.2.0, < 4.2.6 | ≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.2
Vmware1 product
  • spring_cloud_function≥ 3.2.0, < 3.2.16 | ≥ 4.1.0, < 4.1.10 | ≥ 4.2.0, < 4.2.6 | ≥ 4.3.0, < 4.3.3 | ≥ 5.0.0, < 5.0.2

3 vendors · 3 products

References

4 links