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

Published Jun 1, 2026
·
Updated

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 Software

10 affected components
VMware Spring Cloud Function<3.2.16
VMware Spring Cloud Function<4.1.10
VMware Spring Cloud Function<4.2.6
VMware Spring Cloud Function<4.3.3
VMware Spring Cloud Function<5.0.2
VMware Spring Cloud Function>=3.2.0<3.2.16
VMware Spring Cloud Function>=4.1.0<4.1.10
VMware Spring Cloud Function>=4.2.0<4.2.6
VMware Spring Cloud Function>=4.3.0<4.3.3
VMware Spring Cloud Function>=5.0.0<5.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Spring Cloud Function 3.2.x to a version that resolves this vulnerability.

    Fixed in 3.2.16
  2. Upgrade

    Upgrade Spring Cloud Function 4.1.x to a version that resolves this vulnerability.

    Fixed in 4.1.10
  3. Upgrade

    Upgrade Spring Cloud Function 4.2.x to a version that resolves this vulnerability.

    Fixed in 4.2.6
  4. Upgrade

    Upgrade Spring Cloud Function 4.3.x to a version that resolves this vulnerability.

    Fixed in 4.3.3
  5. Upgrade

    Upgrade Spring Cloud Function 5.0.x to a version that resolves this vulnerability.

    Fixed in 5.0.2

Event History

Jun 1, 2026
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40989?

CVE-2026-40989 has a medium severity rating of 5.7.

2

How do I fix CVE-2026-40989?

To remediate CVE-2026-40989, upgrade to Spring Cloud Function version 3.2.16, 4.1.10, or 4.2.6 or later.

3

What type of vulnerability is CVE-2026-40989?

CVE-2026-40989 is a self-routing guard bypass vulnerability caused by infinite recursion in the routing layer.

4

What are the potential impacts of CVE-2026-40989?

CVE-2026-40989 can lead to an Out Of Memory (OOM) error due to excessive request handling.

5

Which versions of Spring Cloud Function are affected by CVE-2026-40989?

CVE-2026-40989 affects Spring Cloud Function versions prior to 3.2.16, 4.1.10, and 4.2.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203