What’s Vulnerable › Vulnerabilities
CVE-2026-22741: Static resource cache poisoning in Spring MVC and WebFlux
- Severity: low (CVSS 3.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-29 · updated 2026-10-26
- Weakness: CWE-524
Description
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.
Affected products
- Spring Framework: before 5.3.48; from 6.1.0 before 6.1.27; from 6.2.0 before 6.2.18; from 7.0.0 before 7.0.7 — fixed in 5.3.48, 6.1.27, 6.2.18, 7.0.7
- Maven Org.Springframework:Spring-Webflux: from 7.0.0 before 7.0.7; from 6.2.0 before 6.2.18; from 6.1.0 through 6.1.26; through 5.3.47; 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5 (+149) — fixed in 7.0.7, 6.2.18
- Maven Org.Springframework:Spring-Webmvc: from 7.0.0 before 7.0.7; from 6.2.0 before 6.2.18; from 6.1.0 through 6.1.26; through 5.3.47; 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5 (+291) — fixed in 7.0.7, 6.2.18
- Spring Framework: from 7.0.0 before 7.0.7; from 6.2.0 before 6.2.18; from 6.1.0 before 6.1.27; from 5.3.0 before 5.3.48 — fixed in 7.0.7, 6.2.18, 6.1.27, 5.3.48
How to fix
Upgrade to a fixed version: Spring Framework 5.3.48, 6.1.27, 6.2.18, 7.0.7; Maven Org.Springframework:Spring-Webflux 7.0.7, 6.2.18; Maven Org.Springframework:Spring-Webmvc 7.0.7, 6.2.18; Spring Framework 7.0.7, 6.2.18, 6.1.27, 5.3.48. Check the vendor advisory for mitigations.
References
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L&version=3.1
- https://spring.io/security/cve-2026-22741
Get alerted when CVE-2026-22741 or the next vulnerability affects your stack