The LASSO analysis identified GSDMC, GZMA, AIM2, and PD-L1, as hub pyroptosis genes, and we constructed a novel and reliable predictive signature for the OS of patients with CM. This evidence concerns the gene GZMA and cutaneous mastocytosis.