HIGH 8.2

CVE-2026-40994

Spring Web Services: Wss4jSecurityInterceptor disables WS-I BSP validation by default

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ws » spring-ws-security
>= 3.1.0, <= 3.1.8>= 4.0.0, <= 4.0.18>= 4.1.0, < 4.1.4>= 5.0.0, < 5.0.2
4.1.4, 5.0.2

Blast radius

1affected artifacts
35affected versions
16dependent artifacts (est.)
490dependent versions

43% of the dependent artifacts (7) still pull an affected version in their latest release.

DepthDependent versions
Direct
358
2 hops
122
3 hops
10

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webspring.io