CVE-2026-22741: Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.
Spring MVC and WebFlux applications are vulnerable to cache poisoning 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 configuring the resource chain support https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title with caching…
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
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- >= 7.0.0, <= 7.0.6
- Fixed in
- 7.0.7
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- >= 6.2.0, <= 6.2.17
- Fixed in
- 6.2.18
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- >= 6.1.0, <= 6.1.26
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
org.springframework:spring-webmvc
- Ecosystem
- Maven
- Affected
- <= 5.3.47
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Spring MVC and WebFlux applications are vulnerable to cache poisoning 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 configuring the resource chain support https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title with caching enabled
- the application adds support for encoded resources resolution
- the resource cache must be empty when the attacker has access to the application
When all the conditions above are met, the attacker can send malicious requests and poison the resource cache with resources using the wrong encoding. This can cause a denial of service by breaking the front-end application for clients.
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-47884
Spring Framework Improper Path Limitation in XsltView
critical9.8No fixAug 27, 2026CVE-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, 2026
