Using various colorectal cancer mouse models, it is shown that the use of Traf2 and Nck-interacting protein kinase inhibitors (TNIKi) unexpectedly increases tumor infiltration by PD-1+ CD8+ T cells, thus contributing to tumor control. This evidence concerns the gene TRAF2 and colorectal cancer.