CVE-2026-40989
Self Routing guard bypassed via function composition
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.
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.7
Self Routing guard bypassed via function composition
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.
- Record
CVE-2026-40989- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
EUVDEUVD-2026-33733
5.7
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.
- Record
EUVD-2026-33733- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x9c7-5h6g-hq8q
5.7
Spring Cloud Function Context has Uncontrolled Recursion
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.
- Record
GHSA-x9c7-5h6g-hq8q- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
NVD
5.7
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.
- Record
CVE-2026-40989- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSV
5.7
Self Routing guard bypassed via function composition
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.
- Record
CVE-2026-40989- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSVGHSA-x9c7-5h6g-hq8q
5.7
Spring Cloud Function Context has Uncontrolled Recursion
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.
- Record
GHSA-x9c7-5h6g-hq8q- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H - Weakness
- CWE-674
- Updated
- 2026-11-02
OSVCLSA-2026-1793784426 No score
TuxCare security update for org.springframework.cloud (4 CVEs)
TuxCare rebuilt 3 org.springframework.cloud packages to address 4 CVEs. Fixed in 3.2.12-tuxcare.1.
- Record
CLSA-2026-1793784426- Updated
- 2026-11-04
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.cloud:spring-cloud-function-contextMaven |
4.3.0 up to 4.3.3 | 4.3.3 |
org.springframework.cloud:spring-cloud-function-contextMaven |
5.0.0 up to 5.0.2 | 5.0.2 |
org.springframework.cloud:spring-cloud-function-contextMaven |
3.2.10 to 3.2.15 | None known |
org.springframework.cloud:spring-cloud-function-contextMaven |
4.1.0 to 4.1.9 | None known |
org.springframework.cloud:spring-cloud-function-contextMaven |
4.2.0 to 4.2.5 | None known |
org.springframework.cloud:spring-cloud-function-adapter-awsTuxCare:Maven From an advisory covering 4 CVEs |
3.2.12 up to 3.2.12-tuxcare.1 | 3.2.12-tuxcare.1 |
org.springframework.cloud:spring-cloud-function-contextTuxCare:Maven From an advisory covering 4 CVEs |
3.2.12 up to 3.2.12-tuxcare.1 | 3.2.12-tuxcare.1 |
org.springframework.cloud:spring-cloud-function-webTuxCare:Maven From an advisory covering 4 CVEs |
3.2.12 up to 3.2.12-tuxcare.1 | 3.2.12-tuxcare.1 |
org.springframework.cloud:spring-cloud-function-contextMaven |
4.3.0 up to 4.3.3, plus listed versions 4.3.14.3.2 |
4.3.3 |
org.springframework.cloud:spring-cloud-function-contextMaven |
5.0.0 up to 5.0.2, plus listed versions 5.0.1 |
5.0.2 |
org.springframework.cloud:spring-cloud-function-contextMaven |
3.2.10 to 3.2.15, plus listed versions 3.2.113.2.12 |
None known |
org.springframework.cloud:spring-cloud-function-contextMaven |
4.1.0 to 4.1.9, plus listed versions 4.1.14.1.24.1.34.1.44.1.54.1.6 |
None known |
org.springframework.cloud:spring-cloud-function-contextMaven |
4.2.0 to 4.2.5, plus listed versions 4.2.14.2.24.2.34.2.4 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-40989 is a medium vulnerability (CVSS 5.7) in Spring Cloud Function, published June 1, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in org.springframework.cloud:spring-cloud-function-context 4.3.3.
References
spring.io/security/cve-2026-40989
nvd.nist.gov/vuln/detail/CVE-2026-40989
github.com/spring-cloud/spring-cloud-function/commit/6bcd55803c5a2ce0adec794fee1e03c2fac36cf9
github.com/advisories/GHSA-x9c7-5h6g-hq8q
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40989.json
github.com/spring-cloud/spring-cloud-function