NCF4 deficiency causes severe colorectal cancer in mice, increases transit-amplifying and precancerous cells, reduces the frequency and activation of CD8+ T and NK cells, and impairs the inflammasome-IL-18-IFN-γ axis during the early phase of colorectal tumorigenesis. Here, CD8A is linked to colorectal cancer.