CVE-2026-40999 Spring WS SSRF via unvalidated WS-Addressing reply destinations

High 8.6 Published Updated

Attackers can force the application to make arbitrary outbound requests via unvalidated WS-Addressing headers, potentially accessing internal resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40999?

CVE-2026-40999 is a high-severity server-side request forgery vulnerability in Spring Web Services, published on 11 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-918

Which versions are affected by CVE-2026-40999?

8 open source packages ship an affected version, including org.springframework.ws:spring-ws-core. It affects 1 product.

PackageAffectedFixed in
org.springframework.ws:spring-ws-core MavenFrom 3.1.0 to 3.1.8None
org.springframework.ws:spring-ws-core MavenFrom 3.1.0 to 3.1.8None
org.springframework.ws:spring-ws-core MavenFrom 4.0.0 to 4.0.18None
org.springframework.ws:spring-ws-core MavenFrom 4.0.0 to 4.0.18None
org.springframework.ws:spring-ws-core MavenFrom 4.1.04.1.4
org.springframework.ws:spring-ws-core MavenFrom 4.1.04.1.4
2 more packages
org.springframework.ws:spring-ws-core MavenFrom 5.0.05.0.2
org.springframework.ws:spring-ws-core MavenFrom 5.0.05.0.2

Products include Broadcom Spring Web Services.

How do I fix CVE-2026-40999?

Upgrade org.springframework.ws:spring-ws-core to a fixed version for your release line: 4.1.4 or 5.0.2.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-40999 being exploited?

There is no known exploitation of CVE-2026-40999 in the wild and no public exploit code.

Sources

Also known as GHSA-whpp-xv3h-rwxf, ROOT-APP-MAVEN-CVE-2026-40999.

Is CVE-2026-40999 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free