Self Routing guard bypassed via function composition

MEDIUM | MAY 08, 2026 | CVE-2026-40989

Description

Under infinite recursion in the routing layer, request-handling can cause OOM error.

Affected Spring Products and Versions

Spring Cloud Function:

  • 5.0.0 - 5.0.1
  • 4.3.0 - 4.3.2
  • 4.2.0 - 4.2.5
  • 4.1.0 - 4.1.9
  • 3.2.15 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.2OSS
4.3.3OSS
4.2.6Enterprise Support Only
4.1.10Enterprise Support Only
3.2.16Enterprise Support Only

If you are not able to upgrade, ensure functions can not be composed with itself

History

  • 2026-05-08: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all