Cancers carrying mutant SPOP displayed elevated PD-L1 levels and significantly reduced CD3+ TIL numbers in the tumor microenvironment. Here, CD274 is linked to cancer.