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.
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
CVE-2026-40994 affects Spring Web Services across multiple versions (3.1.0-3.1.8, 4.0.0-4.0.18, 4.1.0-4.1.3, and 5.0.0-5.0.1) by disabling WS-I Basic Security Profile (BSP) enforcement during inbound message validation. The Wss4jSecurityInterceptor component initializes its BSP compliance flag in a way that allows RequestData to bypass critical protocol-level security checks. This is particularly dangerous because WS-Security messages that violate BSP rules—which exist to prevent weaknesses in XML signature and encryption implementations—are accepted as valid. Organizations running affected versions of Spring Web Services that rely on WS-Security for SOAP message protection now have a false sense of security, as malformed or protocol-violating messages can penetrate their defenses.
While Casky.ai currently shows zero matching skills directly mapped to this CVE, the underlying attack pattern involves protocol manipulation and security control bypass—detection would focus on identifying anomalies in WS-Security message validation patterns and configuration states. Practitioners using Casky's extended reasoning capabilities would need to look for indicators such as: RequestData objects with BSP enforcement disabled in logs, acceptance of WS-Security messages that should fail BSP validation rules, unusual XML signature or encryption patterns in SOAP traffic that violate WS-I specifications, and unexpected success of messages containing cryptographic or structural violations. Security teams should treat this as a control bypass vulnerability requiring immediate patching and manual review of message validation logs to identify whether non-compliant messages were processed during the vulnerable period.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-40994. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation