CVE-2026-59370
WS-Security faults disclose why validation of a request failed
Description
When validation of an inbound WS-Security header failed, the SOAP fault returned to the sender used the message of the underlying exception as its fault string, telling an unauthenticated sender which check failed and why. Because that message varies with the cause, a sender can also distinguish the failure modes of a message it submitted.
This issue only affects deployments where all the following are true:
Inbound WS-Security processing is performed by an AbstractWsSecurityInterceptor subclass, such as Wss4jSecurityInterceptor. No custom EndpointExceptionResolver replaces the fault string built from the validation exception.
Fixed versions return the same fault string, Security processing failed, whatever the failure, and log the details instead. A client relying on the previous fault string to tell failures apart will no longer be able to. Configure an exceptionResolver to take over building the fault.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws » spring-ws-security | <= 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
77% of the dependent artifacts (89) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,194 |
| 2 hops | 1,498 |
| 3 hops | 1,048 |
| 4 hops | 635 |
| 5 hops | 1 |
Most used dependents
- io.camunda.community » zeebe-cherry-runtime12 usages
- br.org.sesc » sesc-commons-security11 usages
- be.milieuinfo.imjv » imjv-admin8 usages
- be.milieuinfo.imjv » imjv-common8 usages
- br.org.sesc » sesc-permissao-sync8 usages
- de.invesdwin » invesdwin-context-integration-ws8 usages
- no.difi.meldingsutveksling » domain7 usages
- org.bedework.deploy » bw-wf-core-feature-pack7 usages
- be.vlaanderen.lin.bup » bredero2-bup-dba5 usages
- no.difi.meldingsutveksling » common-spring5 usages
- no.difi.meldingsutveksling » dokumentpakking5 usages
- no.difi.meldingsutveksling » nextmove5 usages
- no.difi.meldingsutveksling » service-registry-client5 usages
- be.milieuinfo.imjv » imjv-legacy4 usages
- be.vlaanderen.lin » bredero-common-ws4 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.
