Our dissection of the molecular mechanisms underlying cavernoma pathogenesis unveils KLF4 upregulation as the key initial event in CCM. Here, KLF4 is linked to cerebral cavernous malformation.