We assessed the profile of immune infiltration, and found that naïve CD4+ T cells, activated mast cells, and monocytes were protective factors, while resting memory CD4+ T cells and M1 macrophages were risk factors for the prognosis of patients with grade II and III gliomas. This evidence concerns the gene CD4 and central nervous system cancer.