I’ve heard that a 5 month old child can be vaccinated (it’s just not standard practice) so in a situation where there are serious concerns about infection you are not without options.
https://www.nhs.uk/common-health-questions/childrens-health/...
(assuming their mother is)
Is that conveyed en utero or through the mother's milk? If the latter, that would depend on being breastfed, wouldn't it?