Colitis-induced IL-17A suppressed the tumor infiltration and self-renewal of stem-like exhausted CTLs. Here, IL17A is linked to colitis.