In lung cancer, CD28−PD1+ and CD28−PD1− T cells displayed enhanced secretory capabilities for granzyme B, IFN-γ, and TNF-α, whereas CD28+PD1− and CD28+PD1+ T cells exhibited diminished secretory functions, consistent with our findings. Here, GZMB is linked to lung carcinoma.