KRAS mutations are associated with treatment and prognostic outcomes in colorectal cancer patients.There have been no studies on utilizing the peritumoral images to predict KRAS mutation status in rectal cancer patients. Here, KRAS is linked to rectal cancer.