CVE-2026-59429
Spring Framework Denial of Service via PathPattern
Description
Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if they use PathPattern with a pattern that contains a {name:regex} variable, and that regular expression is prone to excessive backtracking.
This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as PathPatternParser being used directly by applications.
When those conditions are met, an attacker can send crafted request paths that consume excessive CPU time during request matching.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-web | <= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11 | 7.0.11 |
Blast radius
81% of the dependent artifacts (51,034) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 303,092 |
| 2 hops | 854,466 |
| 3 hops | 958,289 |
| 4 hops | 496,405 |
| 5 hops | 184,533 |
| 6 hops | 75,872 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,088 usages
- org.springframework » spring-test12,237 usages
- org.springframework » spring-webmvc7,543 usages
- org.springframework.boot » spring-boot-starter-security3,609 usages
- org.springframework.security » spring-security-core3,215 usages
- org.springframework » spring-orm3,196 usages
- org.apache.spark » spark-sql3,176 usages
- org.apache.spark » spark-core2,900 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- org.springframework.security » spring-security-web2,136 usages
- org.springframework.security » spring-security-config2,066 usages
- io.springfox » springfox-swagger21,926 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.axis2.wso2 » axis21,425 usages
Computed from the dependency graph of build 20261125.0317 (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.
