Couldn’t the probiotic bacteria in yogurt actually be dangerous?

Possibly. But for the most common probiotics, there’s no evidence that it’s harmful.