Significance: COX2 signaling via prostaglandin E2 is a major mediator of immune evasion driven by oncogenic KRAS that promotes immunotherapy and KRAS-targeted therapy resistance, suggesting effective combination treatments for KRAS-mutant lung cancer. This evidence concerns the gene KRAS and lung cancer.