# CVE-2026-40996: Inbound WS-Security allows RSA PKCS\#1 v1.5 key transport by default

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-11 · Modified: 2026-06-23
- Aliases: GHSA-p7qj-2q5w-f9r7
- Record: https://cvemate.com/vulnerability/CVE-2026-40996 · JSON: https://cvemate.com/vulnerability/CVE-2026-40996/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.129%, percentile 2.701%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- broadcom spring\_web\_services: \< 3.1.9 \| ≥ 4.0.0, \< 4.0.19 \| ≥ 4.1.0, \< 4.1.3.1 \| ≥ 5.0.0, \< 5.0.1.1
- org.springframework.ws spring-ws-security (Maven): ≥ 5.0.0, \< 5.0.2 \| ≥ 4.1.0, \< 4.1.4 \| ≥ 4.0.0, ≤ 4.0.18 \| ≥ 3.1.0, ≤ 3.1.8
- spring spring web services: ≥ 5.0.0, \< 5.0.1.1 \| ≥ 4.1.0, \< 4.1.3.1 \| ≥ 4.0.0, \< 4.0.19 \| ≥ 3.1.0, \< 3.1.9

## References

- <https://spring.io/security/cve-2026-40996>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40996>
- <https://github.com/spring-projects/spring-ws>

---

Data as of 2026-12-05T04:23:09.715Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
