ADVISORIES

GitHub Advisory Database

GHSA-6p4f-wcwh-5vvm

Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources

Moderate CVE-2026-22745

Details

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.

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
Mavenorg.springframework:spring-webmvc
From 7.0.0 before 7.0.7 (fixed in 7.0.7)
Mavenorg.springframework:spring-webmvc
From 6.2.0 before 6.2.18 (fixed in 6.2.18)
Mavenorg.springframework:spring-webmvc
From 6.1.0 up to and including 6.1.26
Mavenorg.springframework:spring-webmvc
All versions up to and including 5.3.47

References