Medium severity · published Jun 1, 2026
CVE-2026-40989
Self Routing guard bypassed via function composition
6.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SC
Spring Cloud Function · Spring
3.2.0 before 3.2.16; 4.1.0 before 4.1.10; 4.2.0 before 4.2.6; 4.3.0 before 4.3.3; 5.0.0 before 5.0.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40989
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40989
Vendor Advisory
https://spring.io/security/cve-2026-40989
More from Spring Cloud Function
6.5
CVE-2026-40990
Unbounded cache for function definitions
5.5
CVE-2026-59291
Potential arbitrary file read and SSRF vulnerability in Spring Cloud Function
4.9
CVE-2026-59301
Potential for logging sensitive data in Spring Cloud Function Azure
3.5
CVE-2026-59300
Potential for logging sensitive data in Spring Cloud Function AWS
3.5
CVE-2026-59299
Composition lookup can potentially poison base function in Spring Cloud Function
