Galactic cosmic-rays (GCRs) are thought to be accelerated in strong shocks induced by massive star winds and supernova explosions sweeping across the interstellar medium. But the phase of the interstellar medium from which the CRs are extracted has remained elusive until now. Here, we study in detail the GCR source composition deduced from recent measurements by the AMS-02, Voyager 1 and SuperTIGER experiments to obtain information on the composition, ionisation state and dust content of the GCR source reservoirs. We show that the volatile elements of the CR material are mainly accelerated from a plasma of temperature higher than $\sim 2$ MK, which is typical of the hot medium found in galactic superbubbles energised by the activity of mass...