CVE-2026-59379
Spring WS SSRF via insufficient WS-Addressing destination checks
Description
Spring WS added destination checks to each WebServiceMessageSender, see CVE-2026-40999.
Screening a peer-supplied destination for reachability this way cannot be made correct. A remote attacker who controls a wsa:ReplyTo or wsa:FaultTo address can still craft a destination that passes these checks yet resolves to an internal-only host, a cloud metadata endpoint, or another destination that is not otherwise reachable from the attacker. As with the original issue, the delivery is one-way: Spring WS never reads back or exposes the destination's response, so this does not let an attacker read back that destination's contents.
This issue only affects deployments where all the following are true:
An AbstractAddressingEndpointMapping subclass is registered with one or more WebServiceMessageSender instances configured for out-of-band replies, relying on the sender's default checks rather than an application-supplied DestinationPolicy. The service accepts WS-Addressing headers (wsa:ReplyTo / wsa:FaultTo) from untrusted callers. No restrictive destination validator or equivalent network-level egress control compensates for the insufficient default checks.
Note that applications are affected. Configuring messageSenders on an addressing endpoint mapping is no longer enough to enable out-of-band replies. Every WebServiceMessageSender that you configure on AbstractAddressingEndpointMapping should register a DestinationPolicy stating which destinations it may target.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws » spring-ws-core | <= 3.1.9>= 4.0.0, <= 4.0.19>= 4.1.0, <= 4.1.4>= 5.0.0, < 5.0.4 | 5.0.4 |
Blast radius
54% of the dependent artifacts (641) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,156 |
| 2 hops | 7,582 |
| 3 hops | 5,357 |
| 4 hops | 3,206 |
| 5 hops | 4,459 |
| 6 hops | 13,856 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- io.gravitee.gateway » gravitee-gateway-api140 usages
- org.apache.camel » camel-catalog87 usages
- org.springframework.boot » spring-boot-starter-web-services83 usages
- io.gravitee.policy » gravitee-policy-api77 usages
- com.consol.citrus » citrus-core69 usages
- io.gravitee.el » gravitee-expression-language56 usages
- io.gravitee.apim.repository » gravitee-apim-repository-api41 usages
- io.gravitee.apim.gateway » gravitee-apim-gateway-buffer40 usages
- org.springframework.ws » spring-ws-security40 usages
- com.consol.citrus » citrus-http40 usages
- org.apache.camel.springboot » camel-jackson-starter37 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.
