Our study identified three core mutated genes in patients with CM: BRAF, FLG, and SORL1. These genes were significantly associated with the prognosis of patients with CM. Here, SORL1 is linked to cutaneous mastocytosis.