CVE
CVE-2026-22741
CNA 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 versions
All Spring Framework vulnerabilities →
- spring-webmvc≥ 7.0.0, < 7.0.7Fixed in 7.0.7
- spring-webmvc≥ 6.2.0, < 6.2.18Fixed in 6.2.18
- spring-webmvc≥ 6.1.0, ≤ 6.1.26Affected up to 6.1.26 — see vendor advisory
- spring-webmvc≤ 5.3.47Affected up to 5.3.47 — see vendor advisory
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- spring.io/security/cve-2026-22741 · Vendor Advisory
- github.com/advisories/GHSA-wg35-8jpf-2xv3 · Third Party Advisory
- osv.dev/vulnerability/GHSA-wg35-8jpf-2xv3 · Third Party Advisory
- docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-res · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.