CVE-2026-59371: Client-side schema validation of a response can bypass its WS-Security validation
A client that sets validateResponse on PayloadValidatingInterceptor did not reject a response that failed schema validation. The errors were logged and the response was returned to the application anyway, and the rest of the interceptor chain was skipped, including any interceptor declared before the validating one.
This issue only affects deployments where all the following are true:
The client declares a PayloadValidatingInterceptor with validateResponse set to true . A response-securing interceptor, such as Wss4jSecurityInterceptor validating responses, is declared before that validating interceptor in the client's interceptor list. As Wss4jSecurityInterceptor validates responses by default, a response that failed schema validation therefore reached the application with its WS-Security header never checked. An attacker able to supply the response can bypass signature and encryption checks by making the payload schema-invalid.
Fixed versions reject such a response with a WebServiceValidationException .
Affected Software
Event History
Frequently Asked Questions
Which client deployments are affected?
Only clients that enable response validation on PayloadValidatingInterceptor and place a response-securing interceptor, such as Wss4jSecurityInterceptor, before it in the client interceptor list are affected. The issue depends on that specific interceptor ordering.
What does an attacker need to exploit this issue?
The attacker must be able to supply the response received by the client and make its payload fail schema validation. Under the affected configuration, this causes the response to reach the application without WS-Security signature or encryption checks.
How can we tell whether our application may be vulnerable?
Review the client interceptor list for a PayloadValidatingInterceptor configured with validateResponse set to true and a response-validating Wss4jSecurityInterceptor or similar interceptor declared before it. Also check whether schema-validation errors are logged while the response is still returned to the application.
What behavior should be expected after applying a fixed version?
A response that fails schema validation is rejected with a WebServiceValidationException. It should not be returned to the application or continue past the validation failure.