In this paper, 5 % sodium hydroxide solution, mixed 20 % acetic acid and 5 % sodium chlorite solution, and 5 % silane coupling agent solution were successively used to soak the waste pumpkin (Cucurbita maxima moschata) lashes. Subsequently, FTIR, XRD, thermogravimetric analysis and other experimental methods were used to comprehensively characterize the properties of the discarded pumpkin lashes. On this basis, this work prepared cement mortar specimens with unadulterated pumpkin lashes, adulterated raw pumpkin lashes, and adulterated modified pumpkin lashes, and their residual mechanical properties were investigated after exposure to elevated temperatures. The experimental results indicate that the chemical modification utilized in this paper can increase the cellulose content of pumpkin lashes as well as reduce the proportion of amorphous components, and thus, improve the tensile strength, crystallinity index, grain size, thermal stability, and surface roughness of the samples. Meanwhile, the chemical treatment process can effectively reduce the water absorption and density of pumpkin lashes. The calculation outcomes of our thermal kinetics study showed that the apparent activation energies corresponding to the main pyrolysis stage of the treated pumpkin lashes were significantly enhanced. The one-dimensional diffusion model and the second-order model could better characterize the pyrolytic mechanism of the raw pumpkin lashes, while the mechanism was closer to the third-order model because of the chemical modification. Finally, the addition of chemically modified pumpkin lashes reduced the mass loss rate of cement mortar specimens at elevated temperatures while clearly increasing the residual strength of the specimens at 300 and 400 °C compared to those with referential pumpkin lashes.