Low severity3.1NVD Advisory· Published Apr 29, 2026· Updated May 4, 2026
CVE-2026-22741
CVE-2026-22741
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework:spring-webfluxMaven | >= 7.0.0, < 7.0.7 | 7.0.7 |
org.springframework:spring-webfluxMaven | >= 6.2.0, < 6.2.18 | 6.2.18 |
org.springframework:spring-webfluxMaven | >= 6.1.0, <= 6.1.26 | — |
org.springframework:spring-webfluxMaven | <= 5.3.47 | — |
org.springframework:spring-webmvcMaven | >= 7.0.0, < 7.0.7 | 7.0.7 |
org.springframework:spring-webmvcMaven | >= 6.2.0, < 6.2.18 | 6.2.18 |
org.springframework:spring-webmvcMaven | >= 6.1.0, <= 6.1.26 | — |
org.springframework:spring-webmvcMaven | <= 5.3.47 | — |
Affected products
20- osv-coords19 versionspkg:apk/chainguard/apache-activemq-6.1pkg:apk/chainguard/apache-activemq-6.2pkg:apk/chainguard/apache-activemq-fips-6.1pkg:apk/chainguard/apache-activemq-fips-6.2pkg:apk/chainguard/apache-nifi-registrypkg:apk/chainguard/camunda-8.9pkg:apk/chainguard/camunda-zeebe-8.7pkg:apk/chainguard/camunda-zeebe-8.9pkg:apk/chainguard/kafbat-uipkg:apk/chainguard/kafbat-ui-fipspkg:apk/chainguard/nacospkg:apk/chainguard/nacos-dockerpkg:apk/chainguard/thingsboard-tb-mqtt-transportpkg:apk/chainguard/thingsboard-tb-nodepkg:apk/wolfi/apache-nifi-registrypkg:apk/wolfi/thingsboard-tb-mqtt-transportpkg:apk/wolfi/thingsboard-tb-nodepkg:maven/org.springframework/spring-webfluxpkg:maven/org.springframework/spring-webmvc
< 6.1.8-r5+ 18 more
- (no CPE)range: < 6.1.8-r5
- (no CPE)range: < 6.2.5-r3
- (no CPE)range: < 6.1.8-r7
- (no CPE)range: < 6.2.5-r2
- (no CPE)range: < 2.9.0-r8
- (no CPE)range: < 8.9.5-r2
- (no CPE)range: < 8.7.30-r0
- (no CPE)range: < 8.9.5-r2
- (no CPE)range: < 1.4.2-r9
- (no CPE)range: < 1.4.2-r8
- (no CPE)range: < 3.2.1-r2
- (no CPE)range: < 3.2.1-r1
- (no CPE)range: < 4.3.1.1-r11
- (no CPE)range: < 4.3.1.1-r11
- (no CPE)range: < 2.9.0-r8
- (no CPE)range: < 4.3.1.1-r11
- (no CPE)range: < 4.3.1.1-r11
- (no CPE)range: >= 7.0.0, < 7.0.7
- (no CPE)range: >= 7.0.0, < 7.0.7
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-wg35-8jpf-2xv3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22741ghsaADVISORY
- spring.io/security/cve-2026-22741nvdVendor AdvisoryWEB
- docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.htmlghsaWEB
- nvd.nist.gov/vuln-metrics/cvss/v3-calculatornvdUS Government Resource
News mentions
0No linked articles in our index yet.