If you mean by CFD trading the Forex trading, then the answer is: It is allowed if it deals with companies dealing with lawful activities only. It has the same rules of stock exchange dealings which are permissible if the shares are from companies dealing with lawful activities only.
Wassalam.