Failing Open Affecting org.springframework.ws:spring-ws-core package, versions [,5.0.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKWS-22732057
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59371  (opens in a new tab)
CWE-636  (opens in a new tab)

How to fix?

Upgrade org.springframework.ws:spring-ws-core to version 5.0.4 or higher.

Overview

org.springframework.ws:spring-ws-core is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.

Affected versions of this package are vulnerable to Failing Open in the client-side AbstractValidatingInterceptor (and PayloadValidatingInterceptor), whose handleResponseValidationErrors method logs a schema-invalid response and returns false instead of rejecting it, leaving the response in place and halting the remaining response interceptor chain. When a response-securing interceptor such as Wss4jSecurityInterceptor is declared before the validating interceptor, an attacker who can supply a schema-invalid response causes the application to accept it with its WS-Security signature and encryption unchecked. This requires a client configured with PayloadValidatingInterceptor and validateResponse enabled, ordered after a response-validating security interceptor.

Workaround

This vulnerability can be avoided by subclassing the validating interceptor and overriding handleResponseValidationErrors to throw WebServiceValidationException, or by disabling validateResponse on it.

CVSS Base Scores

version 4.0
version 3.1