CVE-2026-22740 — spring-webflux
MEDIUMCVE-2026-22740 is a medium-severity (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in org.springframework:spring-webflux. A fix is available for org.springframework:spring-webflux — see the affected versions and patch details below.
Spring Framework DoS with Multipart Temp Files in WebFlux
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-22740.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework:spring-webflux☕org.springframework:spring-webflux☕org.springframework:spring-webflux☕org.springframework:spring-webfluxReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework:spring-webflux | ≥ 7.0.0&&< 7.0.7 | 7.0.7org.springframework:spring-webflux:7.0.7 |
| ☕Maven | org.springframework:spring-webflux | ≥ 6.2.0&&< 6.2.18 | 6.2.18org.springframework:spring-webflux:6.2.18 |
| ☕Maven | org.springframework:spring-webflux | ≥ 6.1.0 | No fix |
| ☕Maven | org.springframework:spring-webflux | all versions | No fix |
Affected Products
spring frameworkvmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework:spring-webflux, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework:spring-webflux to 7.0.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-22740 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2026-22740 in your dependencies?
Find it across Maven, including transitive dependencies.