Highly infiltrated CD8+Trms were associated with prolonged OS in CRC but not with the prognosis of rectal cancer. Here, CD8A is linked to colorectal carcinoma.