The results demonstrate that CST2 overexpression in pan-cancer contributes to carcinogenesis and is closely associated with the tumor immune microenvironment (TIM). This evidence concerns the gene CST2 and neoplasm.