Cooperation is a key feature of the pathogenesis of many infectious diseases. Virulent agrobacteria manipulate host plants to produce specialized resources, however this is vulnerable to cheating by some avirulent genotypes. We study the evolutionary and epidemiological dynamics that allow for the maintenance of cooperative pathogenesis despite this cheating.