In this research, we discovered 19 hub genes closely related to CM prognosis, of which 4 genes (IL7R, FLT3, C1QC, and HLA-DRB5) unreported were validated to be significantly favorable for patient outcome in the CM testing dataset and may become crucial biomarkers for CM. Here, C1QC is linked to cutaneous mastocytosis.