Loading...
Skip to main content

CVE-2026-40994 — Vulnerability in...

HIGH

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

Published June 11, 2026Updated August 21, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published June 11, 2026 (123 days ago).
  • Last revised August 21, 2026 — 71 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.ws:spring-ws-security to 5.0.2 or later
<!-- Update pom.xml dependency version to 5.0.2 for org.springframework.ws:spring-ws-security -->
Maven
Update org.springframework.ws:spring-ws-security to 4.1.4 or later
<!-- Update pom.xml dependency version to 4.1.4 for org.springframework.ws:spring-ws-security -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.ws:spring-ws-security
maven
5.0.0, 5.0.15.0.2
org.springframework.ws:spring-ws-security
maven
4.0.0, 4.0.1, 4.0.10, 4.0.11 (+14 more)Range-based data available
org.springframework.ws:spring-ws-security
maven
4.1.0, 4.1.1, 4.1.2, 4.1.34.1.4
org.springframework.ws:spring-ws-security
maven
3.1.0, 3.1.1, 3.1.2, 3.1.3 (+5 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Frequently Asked Questions

What is CVE-2026-40994?
Spring Web Services: Wss4jSecurityInterceptor disables WS-I BSP validation by default This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2026-40994?
CVE-2026-40994 affects org.springframework.ws:spring-ws-security. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40994 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-gg9r-wr4p-w63h

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies