{"id":"CVE-2026-40989","summary":"Self Routing guard bypassed via function composition","details":"Under infinite recursion in the routing layer, request-handling can cause OOM error.\n\nAffected Spring Products and Versions:\nSpring Cloud Function 3.2.x: versions prior to 3.2.16\nSpring Cloud Function 4.1.x: versions prior to 4.1.10\nSpring Cloud Function 4.2.x: versions prior to 4.2.6\nSpring Cloud Function 4.3.x: versions prior to 4.3.3\nSpring Cloud Function 5.0.x: versions prior to 5.0.2\nOlder, unsupported versions are also affected.","aliases":["GHSA-x9c7-5h6g-hq8q"],"modified":"2026-08-12T03:51:13.188668033Z","published":"2026-06-01T17:49:14.102Z","database_specific":{"cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40989.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.2.0"},{"fixed":"3.2.16"},{"introduced":"4.1.0"},{"fixed":"4.1.10"},{"introduced":"4.2.0"},{"fixed":"4.2.6"},{"introduced":"4.3.0"},{"fixed":"4.3.3"},{"introduced":"5.0.0"},{"fixed":"5.0.2"}]}],"cna_assigner":"vmware"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-40989"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40989.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40989"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-cloud/spring-cloud-function","events":[{"introduced":"8ebf3d731f1400d34dcfd49e94c99437a3451fb9"},{"fixed":"d417ed0d581b113fd6c9112a6b3e5451497bbf4a"},{"introduced":"8eb67a5a4207593cd695e82826ec208606859eaf"},{"fixed":"081ae5189db0f351089cbf11db8d957ad99ef56c"}],"database_specific":{"extracted_events":[{"introduced":"4.3.0"},{"fixed":"4.3.3"},{"introduced":"5.0.0"},{"fixed":"5.0.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:vmware:spring_cloud_function:*:*:*:*:*:*:*:*"}}],"versions":["v4.3.2","v5.0.1","v4.3.1","v5.0.0","v4.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40989.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H"}]}