CVE-2026-40996

published 11 Jun 2026 · updated 23 Jun 2026

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

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.9, 4.0.19, 4.1.3.1 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=3.1.0 <3.1.9, >=4.0.0 <4.0.19, >=4.1.0 <4.1.3.1, >=5.0.0 <5.0.1.13.1.9, 4.0.19, 4.1.3.1, 5.0.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40996 severity on Zeptric[![CVE-2026-40996](https://zeptric.io/badge/cve/CVE-2026-40996.svg)](https://zeptric.io/cve/CVE-2026-40996)