Vulnerability · Published Jun 1, 2026 · Assigned by vmware
CVE-2026-40989Self Routing guard bypassed via function composition
Medium 5.7
In plain English
A medium-severity security flaw in Spring Cloud Function from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-function-context | 4.3.3 | GHSA-x9c7-5h6g-hq8q |
| Maven | org.springframework.cloud:spring-cloud-function-context | 5.0.2 | GHSA-x9c7-5h6g-hq8q |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x9c7-5h6g-hq8q |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x9c7-5h6g-hq8q |
| Maven | org.springframework.cloud:spring-cloud-function-context | no fix listed | GHSA-x9c7-5h6g-hq8q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Cloud Function | 3.2.0 – before 3.2.164.1.0 – before 4.1.104.2.0 – before 4.2.64.3.0 – before 4.3.35.0.0 – before 5.0.2 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H