In lung cancer, oncogenic KRAS restrictedly expressed in lung epithelial cells causes an accumulation of Th17 cells in tumour tissues. Here, KRAS is linked to lung cancer.