Junglewise Threat Intelligence

CVE-2026-22741: Spring Framework cache poisoning in static resource resolution

CVE-2026-22741 · Severity: low · CVSS 3.1 · Published 2026-04-29

Vendors: Broadcom, Spring.

Executive brief

Spring MVC and WebFlux, frameworks used to build Java web applications, are vulnerable to a cache poisoning issue when serving static files like images or scripts. An attacker can send specially crafted requests that cause the system to store and serve files with incorrect encoding. This can break the website's user interface for other visitors, effectively causing a partial service outage.

Technical details

Spring MVC and WebFlux are vulnerable to cache poisoning (CWE-524) within the static resource resolution mechanism. The vulnerability occurs when the resource chain is configured with caching enabled and support for encoded resource resolution is active. An attacker can exploit this by sending malicious requests when the resource cache is empty, forcing the application to cache resources with incorrect encoding. This results in a denial of service for the front-end application as clients receive corrupted or improperly encoded static assets. Patches are available in versions 7.0.7 and 6.2.18.

Affected products

  • Spring spring-webflux >= 7.0.0, <= 7.0.6; >= 6.2.0, <= 6.2.17; >= 6.1.0, <= 6.1.26; <= 5.3.47
  • Spring spring-webmvc >= 7.0.0, <= 7.0.6; >= 6.2.0, <= 6.2.17; >= 6.1.0, <= 6.1.26; <= 5.3.47

Timeline

  • 2026-04-29: disclosed
  • 2026-04-29: advisory

References