The purpose of this study is to determine safety and anti-tumor immune activation generated by TG02 and Granulocyte macrophage colony stimulating factor (GM-CSF), first as monotherapy (Part I), thereafter in combination with the checkpoint inhibitor pembrolizumab (Part II), in patients with locally recurrent rectal cancer scheduled to have surgery.