CVE-2026-41843
Spring Framework Path Traversal via Versioned Static Resources in Spring MVC and WebFlux
Description
Spring MVC and WebFlux applications are vulnerable to Path Traversal 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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-webflux | <= 5.3.39>= 6.1.0, <= 6.1.21>= 6.2.0, < 6.2.19>= 7.0.0, < 7.0.8 | 6.2.19, 7.0.8 |
| org.springframework » spring-webmvc | <= 5.3.39>= 6.1.0, <= 6.1.21>= 6.2.0, < 6.2.19>= 7.0.0, < 7.0.8 | 6.2.19, 7.0.8 |
Blast radius
74% of the dependent artifacts (32,430) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 207,419 |
| 2 hops | 473,933 |
| 3 hops | 533,928 |
| 4 hops | 302,738 |
| 5 hops | 134,558 |
| 6 hops | 56,326 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-orm3,194 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- io.springfox » springfox-swagger21,926 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- io.springfox » springfox-swagger-ui1,418 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- net.sf.ehcache » ehcache1,234 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.wso2.carbon » org.wso2.carbon.utils1,179 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- org.springframework.data » spring-data-mongodb1,154 usages
- org.springframework » spring1,074 usages
- org.springdoc » springdoc-openapi-starter-webmvc-ui1,040 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-41843
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v6.2.19
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v7.0.8
- Webhttps://spring.io/security/cve-2026-41843
