We report on the cosmic ray mass composition measured by the Telescope Array Low-energy Extension (TALE) hybrid detector. The TALE detector consists of a fluorescence detector (FD) station with 10 FD telescopes located at the Telescope Array (TA) Middle Drum FD Station (itself made up of 14 FD telescopes), and a surface detector (SD) array of scintillators. The array consists of 40 SDs with 400 m spacing and 40 SDs with 600 m spacing. In this paper, we present results on the measurement of the depth of shower maxima (Xmax) in the energy range from 1016.5 eV to 1018.5 eV collected over five years of the TALE hybrid detector. The Xmax distributions were analyzed and compared with Monte Carlo simulations of proton, helium, nitrogen, and iron primaries, using the QGSJet II-04 hadronic interaction model. Our results indicate that the elongation rate of the mean Xmax, which is defined as the slope of KXmaxi versus cosmic ray energy, exhibits a break around 1017 eV. Up to this energy, the composition becomes increasingly heavy, characterized by a growing dominance of heavy nuclei and a steadily decreasing fraction of light primaries. Beyond this energy, the proton fraction increases significantly with energy. These findings suggest a transition from Galactic to extra-Galactic cosmic ray sources around the so-called second knee.