CVE-2026-40989

Self Routing guard bypassed via function composition

Published Jun 1, 2026 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x9c7-5h6g-hq8q Spring Cloud Function Context has Uncontrolled Recursion
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Cloud Function
CPEs cpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Cloud Function
Type Values Removed Values Added
First Time appeared Spring
Spring spring Cloud Function
Vendors & Products Spring
Spring spring Cloud Function
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Self Routing guard bypassed via function composition
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 1, 2026, 7:35 PM
Reserved
Apr 16, 2026, 2:19 AM
Status
Analyzed
Published
Jun 1, 2026, 7:16 PM
Modified
Jul 22, 2026, 7:10 AM