{"id":"CVE-2026-40989","published":"2026-06-01T17:49:14Z","modified":"2026-06-01T19:35:11Z","title":"Self Routing guard bypassed via function composition","vendor":"Spring","product":"Spring Cloud Function","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.11592,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://spring.io/security/cve-2026-40989","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.32},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Cloud Function","versions":[">= 3.2.0, < 3.2.16",">= 4.1.0, < 4.1.10",">= 4.2.0, < 4.2.6",">= 4.3.0, < 4.3.3",">= 5.0.0, < 5.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-01T19:34:59.555964Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.cloud:spring-cloud-function-context","vulnerableRanges":[">=4.3.0, <4.3.3",">=5.0.0, <5.0.2",">=3.2.10, <=3.2.15",">=4.1.0, <=4.1.9",">=4.2.0, <=4.2.5"],"patched":["4.3.3","5.0.2"],"from":["GHSA-x9c7-5h6g-hq8q"],"provenance":"source"}],"summary":{"text":"The flaw is in the routing layer of Spring Cloud Function, where infinite recursion during request handling can occur and cause an out-of-memory error. An attacker who can submit requests that trigger the recursion can exhaust memory and cause a denial of service, and the attack requires low privileges and user interaction, with the attack vector being physical access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:26Z"},"euvd":{"id":"EUVD-2026-33733","exploited":false,"provenance":"source"}}