The properties of a pathogen that makes it capable of infecting one or more specific hosts. The pathogen can include parasites as well as viruses; bacteria; fungi; or plants.