What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Spring Cloud Function 3.2.16, 4.1.10, 4.2.6, 4.3.3; Spring Cloud Function 3.2.16, 4.1.10, 4.2.6, 4.3.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40989 or the next vulnerability affects your stack