Gene function analysis revealed that pyroptosis genes BST2, GBP5, and AIM2 were differentially expressed in CM patients and positively associated with patient prognosis. This evidence concerns the gene GBP5 and cutaneous mastocytosis.