Skip to main content
← All vulnerabilities
CVE-2026-40996GHSA-P7QJ-2Q5W-F9R7

Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.1.1, 4.1.3.1, 4.0.19, 3.1.9, 5.0.2, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Wss4jSecurityInterceptor defaulted allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's safer default for validation RequestData. Inbound WS-Security decryption could therefore accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material unless operators explicitly reconfigured the flag. 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring Spring Web Services

    From 5.0.0 · fixed in 5.0.1.1; From 4.1.0 · fixed in 4.1.3.1; From 4.0.0 · fixed in 4.0.19; From 3.1.0 · fixed in 3.1.9

  • org.springframework.ws:spring-ws-securityMaven

    From 5.0.0 · fixed in 5.0.2

  • org.springframework.ws:spring-ws-securityMaven

    From 4.1.0 · fixed in 4.1.4

  • org.springframework.ws:spring-ws-securityMaven

    From 4.0.0 · through 4.0.18

  • org.springframework.ws:spring-ws-securityMaven

    From 3.1.0 · through 3.1.8

References 1

spring.io