Cuproptosis facilitates immune activation but promotes immune escape, and a machine learning-based cuproptosis-related signature is identified for predicting prognosis and immunotherapy response of gliomas.