CVE-2026-59371
Client-side schema validation of a response can bypass its WS-Security validation
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed 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
54% of the dependent artifacts (641) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- io.gravitee.gateway » gravitee-gateway-api140 usages
- org.apache.camel » camel-catalog87 usages
- org.springframework.boot » spring-boot-starter-web-services83 usages
- io.gravitee.policy » gravitee-policy-api77 usages
- com.consol.citrus » citrus-core69 usages
- io.gravitee.el » gravitee-expression-language56 usages
- io.gravitee.apim.repository » gravitee-apim-repository-api41 usages
- io.gravitee.apim.gateway » gravitee-apim-gateway-buffer40 usages
- org.springframework.ws » spring-ws-security40 usages
- com.consol.citrus » citrus-http40 usages
- org.apache.camel.springboot » camel-jackson-starter37 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.
