Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ws/spring-ws-security
  4. ›
  5. CVE-2026-40994

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

June 11, 2026 (updated August 21, 2026)

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

  • github.com/advisories/GHSA-gg9r-wr4p-w63h
  • nvd.nist.gov/vuln/detail/CVE-2026-40994
  • spring.io/security/cve-2026-40994

Code Behaviors & Features

Detect and mitigate CVE-2026-40994 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.1.0 up to 3.1.8, all versions starting from 4.0.0 up to 4.0.18, all versions starting from 4.1.0 before 4.1.4, all versions starting from 5.0.0 before 5.0.2

Fixed versions

  • 4.1.4
  • 5.0.2

Solution

Upgrade to versions 4.1.4, 5.0.2 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default

Source file

maven/org.springframework.ws/spring-ws-security/CVE-2026-40994.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 06 Sep 2026 12:16:41 +0000.