Advisory record · GHSA-p7qj-2q5w-f9r7

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

CVSS 4.8 MediumEPSS 0.0013 · 2nd percentile

Published by the GitHub Advisory Database at 11 Jun 2026, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.springframework.ws:spring-ws-securityMaven>=5.0.0, <5.0.2 || >=4.1.0, <4.1.4 || >=4.0.0, <=4.0.18 || >=3.1.0, <=3.1.85.0.2, 4.1.4
Identifiers
GHSA-p7qj-2q5w-f9r7 · CVE-2026-40996
Weakness (CWE)
CWE-327
Published
11 Jun 2026
Updated
21 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Spring Web Services (spring-ws-security) versions 5.0.0 through 5.0.1, 4.1.0 through 4.1.3, 4.0.0 through 4.0.18, and 3.1.0 through 3.1.8 accept RSA PKCS#1 v1.5 key transport for inbound WS-Security decryption by default. The source gives few details on how this could be exploited. Upgrade to 5.0.2 or 4.1.4, or set allowRSA15KeyTransportAlgorithm to false on the Wss4jSecurityInterceptor if you cannot upgrade, though the source does not explicitly describe this workaround.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CNA (vmware)
  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:19 UTC First seen by agentprime
  2. 31 Oct 2026, 14:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.