CVE-2026-41841 — spring-webmvc
MEDIUMCVE-2026-41841 is a medium-severity (CVSS 5.9) CWE-524 vulnerability in org.springframework:spring-webmvc. A fix is available for org.springframework:spring-webmvc — see the affected versions and patch details below.
Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-41841.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework:spring-webmvc☕org.springframework:spring-webflux☕org.springframework:spring-webmvc☕org.springframework:spring-webflux☕org.springframework:spring-webmvc☕org.springframework:spring-webflux☕org.springframework:spring-webmvc☕org.springframework:spring-webfluxReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Spring MVC and WebFlux applications are vulnerable to Information Disclosure attacks when resolving static resources.
Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework:spring-webmvc | ≥ 7.0.0&&< 7.0.8 | 7.0.8org.springframework:spring-webmvc:7.0.8 |
| ☕Maven | org.springframework:spring-webflux | ≥ 7.0.0&&< 7.0.8 | 7.0.8org.springframework:spring-webflux:7.0.8 |
| ☕Maven | org.springframework:spring-webmvc | ≥ 6.2.0&&< 6.2.19 | 6.2.19org.springframework:spring-webmvc:6.2.19 |
| ☕Maven | org.springframework:spring-webflux | ≥ 6.2.0&&< 6.2.19 | 6.2.19org.springframework:spring-webflux:6.2.19 |
| ☕Maven | org.springframework:spring-webmvc | ≥ 6.1.0 | No fix |
| ☕Maven | org.springframework:spring-webflux | ≥ 6.1.0 | No fix |
Affected Products
spring frameworkvmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework:spring-webmvc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework:spring-webmvc to 7.0.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-41841 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This Moderate impact information disclosure vulnerability in Spring MVC and WebFlux applications arises from how static resources are resolved. Exploitation requires high attack complexity, limiting its immediate threat in typical Red Hat deployments. Successful attacks could lead to unauthorized access to sensitive…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for CVE-2026-41841 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-41841 in your dependencies?
Find it across Maven, including transitive dependencies.