Patients with obesity and patients with colorectal cancer of poor differentiation, lymph node metastasis, advanced TNM stage, MSI, KRAS, BRAF or PIK3CA mutations had shorter overall survival. Here, KRAS is linked to obesity due to melanocortin 4 receptor deficiency.