CVE-2026-40994: Spring Web Services: Wss4jSecurityInterceptor disables WS-I BSP validation by default
Wss4jSecurityInterceptor initialized its BSP (WS-I Basic Security Profile) compliance flag so that inbound validation disabled WSS4J BSP enforcement on RequestData. Services that validate WS-Security on the network could therefore accept messages that violate BSP rules, weakening protocol-level checks. 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;
Published Jun 11, 2026 · Updated Aug 21, 2026
Affected packages
org.springframework.ws:spring-ws-security
- Ecosystem
- Maven
- Affected
- >= 5.0.0, <= 5.0.1
- Fixed in
- 5.0.2
- Check
mvn dependency:tree -Dincludes=org.springframework.ws:spring-ws-security
org.springframework.ws:spring-ws-security
- Ecosystem
- Maven
- Affected
- >= 4.1.0, <= 4.1.3
- Fixed in
- 4.1.4
- Check
mvn dependency:tree -Dincludes=org.springframework.ws:spring-ws-security
org.springframework.ws:spring-ws-security
- Ecosystem
- Maven
- Affected
- >= 4.0.0, <= 4.0.18
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.ws:spring-ws-security
org.springframework.ws:spring-ws-security
- Ecosystem
- Maven
- Affected
- >= 3.1.0, <= 3.1.8
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.ws:spring-ws-security
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Wss4jSecurityInterceptor initialized its BSP (WS-I Basic Security Profile) compliance flag so that inbound validation disabled WSS4J BSP enforcement on RequestData. Services that validate WS-Security on the network could therefore accept messages that violate BSP rules, weakening protocol-level checks.
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-40995
Spring Web Services: X.509 authentication bypasses Spring Security account checks
medium5.4No fixJun 11, 2026CVE-2026-40996
Spring Web Services: Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default
medium4.8No fixJun 11, 2026CVE-2026-40997
Spring Web Services: SOAP security faults leak Spring Security account state
medium5.3No fixJun 11, 2026CVE-2026-41000
Spring Web Services: WSS4J validation does not use configured replay cache
low3.7No fixJun 11, 2026
