I don't think that would be a real risk. Earth life has spent billions of years both adapting and adapting to the environment to make it the best growing medium and even then it exists in exclusive bands. For example, put a polar bear in the desert or a fresh water fish in salt water. It is more likely that we would have to take extreme care not to kill any lifeforms we brought back than to worry about them killing us.
I don't think anyone is worried about space bears or space fish; but bacteria / viruses / other basic replicator forms have much bigger resistance to harsh environments.
I don't think that would be a real risk. Earth life has spent billions of years both adapting and adapting to the environment to make it the best growing medium and even then it exists in exclusive bands. For example, put a polar bear in the desert or a fresh water fish in salt water. It is more likely that we would have to take extreme care not to kill any lifeforms we brought back than to worry about them killing us.