Genetic variants linked to type 2 diabetes in CDKN1B and TCF7L2 influence survival outcomes in metastatic colorectal cancer. Here, CDKN1B is linked to type 2 diabetes mellitus.