ADVISORIES

GitHub Advisory Database

GHSA-5843-p793-ghmm

Spring Framework DoS with Multipart Temp Files in WebFlux

Moderate CVE-2026-22740

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-webflux
From 7.0.0 before 7.0.7 (fixed in 7.0.7)
Mavenorg.springframework:spring-webflux
From 6.2.0 before 6.2.18 (fixed in 6.2.18)
Mavenorg.springframework:spring-webflux
From 6.1.0 up to and including 6.1.26
Mavenorg.springframework:spring-webflux
All versions up to and including 5.3.47

References