Through the GSEA enrichment results, we found that LEF1 and IRAK3 participated in maintaining the integrity of the blood–brain barrier (BBB), which contributed to improving the prognosis of CM. Here, LEF1 is linked to cutaneous mastocytosis.