The smallpox vaccine which was responsible for the eradication of smallpox was a live virus and could spread from person to person. And through the course of time, it did mutate/become contaminated. It was originally cowpox, but at an unknown time sometime in the 1800's actually became vaccinia virus.
https://www.cdc.gov/smallpox/history/history.html https://virus.stanford.edu/pox/2000/vaccinia_virus.html
So, the great achievements of the past, such as smallpox eradication were not as risk-free as we perceive them with our 20-20 hindsight.
> It is not known whether vaccinia virus is the product of genetic recombination, or if it is a species derived from cowpox virus or variola virus by prolonged serial passage, or if it is the living representative of a now extinct virus.