We report on a Coronal Mass Ejection (CME) observed on June 27 1999 by the UltraViolet Coronagraph Spectrometer (UVCS) telescope operating on board the SOHO spacecraft. The CME was also observed by LASCO (SOHO). Emission of hot material has been recorded by UVCS propagating in front of an opening system of loops generated by the CME. The evolution of the UVCS structure is highly correlated to the evolution of the opening loop. The data reveal excess broadening of the O VI doublet lines and an enhancement in the intensity of the Si XII $\lambda 520.66$ and $\lambda499.37$ lines due to the motion of the expanding hot gas. The hot gas emission seems to be due to a shock wave propagating in front of a very fast gas bubble traveling along the opening loop system.