In this study, a prognostic model including three necroptosis-related genes (EZH2, Enhancer of zeste homolog 2; LEF1, Lymphocyte enhancer factor-1, and CASP1, Caspase-1) was constructed based on The Cancer Genome Atlas (TCGA) training set and validated in two Chinese Glioma Genome Atlas (CGGA) validation sets. This evidence concerns the gene LEF1 and central nervous system cancer.