It's relatively rare to get any of these infections from sleeping with a pet.
But as Chomel and Sun show, it does happen.
Because young children are at higher risk than adults, they recommend that small kids and adults with compromised immune systems avoid sleeping with, kissing, or even being licked by pets.