People join the military not knowing whether or not they will ever go to war, yet they still join. By doing so they risk death, dismemberment, and all manner of long term disability under the belief that doing so makes everyone else safer.
If exposing a few people on purpose is a moral wrong, then surely allowing millions of them to contract it by accident so that a few people in your RCT can become infected by chance is a moral abomination.