Hopefully the homebrew isn’t ending up in your respiratory tract...
Biggest risk for transmission will not be in the beer, but between the people sharing the beer. Via liquid droplets (sneezing, cough, etc) is main method, but could come from touching contaminated surfaces (glass, bottle, etc)...