CVE-2026-22741
Static resource cache poisoning in Spring MVC and WebFlux
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.
INFO
Published Date :
April 29, 2026, 12:16 p.m.
Last Modified :
May 4, 2026, 2:51 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | NONE | dcf2e128-44bd-42ed-91e8-88f912c1401d | ||||
| CVSS 3.1 | NONE | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Disable encoded resource support for static resources.
- Disable resource caching if encoded resources are enabled.
- Update Spring Framework to a patched version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-22741.
| URL | Resource |
|---|---|
| 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 | US Government Resource |
| https://spring.io/security/cve-2026-22741 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-22741 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-22741
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-22741 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-22741 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 04, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions up to (excluding) 5.3.48 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (excluding) 6.1.27 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 6.2.0 up to (excluding) 6.2.18 *cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.7 Added Reference Type VMware: 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 Types: US Government Resource Added Reference Type VMware: https://spring.io/security/cve-2026-22741 Types: Vendor Advisory -
CVE Modified by [email protected]
Apr. 29, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Removed CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N -
New CVE Received by [email protected]
Apr. 29, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N Added CWE CWE-524 Added Reference 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 Added Reference https://spring.io/security/cve-2026-22741