These findings suggest that IFN-γ secretion by CD8+ T cells may promote MHC-II expression in cancer cells, thus shaping their immune interactions and differentiation trajectories. Here, CD8A is linked to cancer.