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

- Severity: Medium 4.8 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-11T05:04:05.227Z
- Modified: 2026-09-04T17:08:43.050Z
- Also known as: GHSA-p7qj-2q5w-f9r7
- Weaknesses: CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- Spring Spring Web Services: from 5.0.0 before 5.0.1.1; from 4.1.0 before 4.1.3.1; from 4.0.0 before 4.0.19; from 3.1.0 before 3.1.9
- org.springframework.ws:spring-ws-security (Maven): from 5.0.0 before 5.0.2; from 4.1.0 before 4.1.4; from 4.0.0 up to 4.0.18; from 3.1.0 up to 3.1.8
- broadcom spring_web_services: before 3.1.9; from 4.0.0 before 4.0.19; from 4.1.0 before 4.1.3.1; from 5.0.0 before 5.0.1.1

## Every score

- vmware: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://spring.io/security/cve-2026-40996> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40996> (advisory)
- <https://github.com/spring-projects/spring-ws> (package)

## Sources

- CVE List: [CVE-2026-40996](https://www.cve.org/CVERecord?id=CVE-2026-40996), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-p7qj-2q5w-f9r7](https://github.com/advisories/GHSA-p7qj-2q5w-f9r7), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-40996](https://nvd.nist.gov/vuln/detail/CVE-2026-40996), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-40996 · Whole record: https://cve.day/CVE-2026-40996.json · Rebuilt by cve.day 2026-11-25T22:59:24.410Z
