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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-01 · Modified: 2026-06-01
- Aliases: GHSA-x9c7-5h6g-hq8q
- Record: https://cvemate.com/vulnerability/CVE-2026-40989 · JSON: https://cvemate.com/vulnerability/CVE-2026-40989/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.211%, percentile 12.044%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.cloud spring-cloud-function-context (Maven): ≥ 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
- spring 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
- vmware 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

## References

- <https://spring.io/security/cve-2026-40989>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40989>
- <https://github.com/spring-cloud/spring-cloud-function/commit/6bcd55803c5a2ce0adec794fee1e03c2fac36cf9>
- <https://github.com/spring-cloud/spring-cloud-function>

---

Data as of 2026-12-05T04:20:45.684Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
