Here, we uncover that the ovarian tumor deubiquitinating enzyme 7b (OTUD7b) prevents TNF-induced apoptosis of DCs in infection, resulting in efficient priming of pathogen-specific CD8<sup>+</sup> T cells. Here, CD8A is linked to infection.