MODERATE

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)

ArtifactAffected versionsFixed 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

1affected artifacts
114affected versions
1,166dependent artifacts (est.)
40,616dependent versions

54% of the dependent artifacts (641) still pull an affected version in their latest release.

DepthDependent 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

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.