CVE-2026-22740: Spring Framework DoS with Multipart Temp Files in WebFlux
A WebFlux server application that processes multipart requests creates temp files for parts larger than 10 K. Under some circumstances, temp files may remain not deleted after the request is fully processed. This allows an attacker to consume available disk space. Older, unsupported versions are also affected.
Published Apr 29, 2026 · Updated Jul 2, 2026
Affected packages
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- >= 7.0.0, <= 7.0.6
- Fixed in
- 7.0.7
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- >= 6.2.0, <= 6.2.17
- Fixed in
- 6.2.18
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- >= 6.1.0, <= 6.1.26
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
org.springframework:spring-webflux
- Ecosystem
- Maven
- Affected
- <= 5.3.47
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A WebFlux server application that processes multipart requests creates temp files for parts larger than 10 K. Under some circumstances, temp files may remain not deleted after the request is fully processed. This allows an attacker to consume available disk space.
Older, unsupported versions are also affected.
Credited to yuki-matsuhashi.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-47890
Spring Framework Server Sent Event stream corruption while rendering fragments
critical9.8No fixAug 27, 2026CVE-2026-47892
Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints
critical9.8No fixAug 27, 2026CVE-2026-41839
Spring Framework Escalation via Session Fixation in WebFlux
medium4.2No fixJun 9, 2026CVE-2026-41840
Spring Framework Denial of Service via Multipart Requests in WebFlux
medium5.9No fixJun 9, 2026CVE-2026-41841
Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
medium5.9No fixJun 9, 2026CVE-2026-41842
Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
high7.5No fixJun 9, 2026
