Every CVE Search/ Get API key

CVE-2026-40989

Self Routing guard bypassed via function composition

5.7 MediumFix available

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

0.21%Up 0.2 points since Jun 2, 2026
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H
CVSS 3.1
6.5 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
org.springframework.cloud:spring-cloud-function-context
Maven
4.3.0 up to 4.3.3
4.3.3
org.springframework.cloud:spring-cloud-function-context
Maven
5.0.0 up to 5.0.2
5.0.2
org.springframework.cloud:spring-cloud-function-context
Maven
3.2.10 to 3.2.15 None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.1.0 to 4.1.9 None known
org.springframework.cloud:spring-cloud-function-context
Maven
4.2.0 to 4.2.5 None known
org.springframework.cloud:spring-cloud-function-adapter-aws
TuxCare: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-context
TuxCare: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-web
TuxCare: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-context
Maven
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-context
Maven
5.0.0 up to 5.0.2, plus listed versions
5.0.1
5.0.2
org.springframework.cloud:spring-cloud-function-context
Maven
3.2.10 to 3.2.15, plus listed versions
3.2.113.2.12
None known
org.springframework.cloud:spring-cloud-function-context
Maven
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-context
Maven
4.2.0 to 4.2.5, plus listed versions
4.2.14.2.24.2.34.2.4
None known

History

History
RecordedChangedSources
affected
affected, aliases, factsOSV
first indexedCVE 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

MoveEnter Open