CVE-2026-22745: Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources
CVE-2026-22745 · Severity: medium · CVSS 5.3 · Published 2026-04-29
Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources.
More precisely, an application can be vulnerable when all the following are true:
* the application is using Spring MVC or Spring WebFlux
* the application is serving static resources from the file system
* the application is running on a Windows platform
When all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application.
Yes. org.springframework:spring-webflux (Maven): upgrade to 7.0.7 or later; org.springframework:spring-webmvc (Maven): upgrade to 7.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-22745?
Check whether you run org.springframework:spring-webflux (Maven), org.springframework:spring-webmvc (Maven), Microsoft Windows or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.springframework:spring-webflux (Maven): upgrade to 7.0.7 or later
# set org.springframework:spring-webflux to 7.0.7 in your pom.xml or build.gradle
org.springframework:spring-webmvc (Maven): upgrade to 7.0.7 or later
# set org.springframework:spring-webmvc to 7.0.7 in your pom.xml or build.gradle