CVE-2026-40999
Spring Web Services: SSRF via unvalidated WS-Addressing reply destinations
Description
When WS-Addressing is used with non-anonymous ReplyTo or FaultTo addresses, Spring WS may initiate outbound connections through configured WebServiceMessageSender instances to destinations taken directly from request headers without verifying that those destinations are safe to connect to.
Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws » spring-ws-core | >= 3.1.0, <= 3.1.8>= 4.0.0, <= 4.0.18>= 4.1.0, < 4.1.4>= 5.0.0, < 5.0.2 | 4.1.4, 5.0.2 |
Blast radius
53% of the dependent artifacts (97) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,247 |
| 2 hops | 1,875 |
| 3 hops | 1,892 |
| 4 hops | 607 |
| 5 hops | 383 |
| 6 hops | 498 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web-services83 usages
- org.springframework.ws » spring-ws-security40 usages
- com.consol.citrus » citrus-jms31 usages
- com.consol.citrus » citrus-ws29 usages
- org.springframework.ws » spring-ws-test20 usages
- org.springframework.boot » spring-boot-starter-test-classic20 usages
- org.springframework.integration » spring-integration-ws18 usages
- org.springframework.ws » spring-ws-support18 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-spring-ws16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.citrusframework » citrus-ws12 usages
- io.camunda.community » zeebe-cherry-runtime12 usages
- org.citrusframework » citrus-jms11 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
| Advisory | NVD CVE-2026-40999 | nvd.nist.gov |
| Package | spring-projects/spring-ws | github.com |
| Web | spring-projects/spring-ws commit 5121a4e | github.com |
| Web | security/cve-2026-40999 | spring.io |
