Spring WS SSRF via insufficient WS-Addressing destination checks

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59379

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 Spring Products and Versions

Spring Web Services:

  • 5.0.0 - 5.0.3
  • 4.1.0 - 4.1.4
  • 4.0.0 - 4.0.19
  • 3.1.9 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.3.1Enterprise Support Only
5.0.4OSS
4.1.5Enterprise Support Only
4.0.20Enterprise Support Only
3.1.10Enterprise Support Only

No further mitigation steps are necessary.

Credit

The issue was identified and responsibly reported by FEARIS.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all