GMOs are usually throughly tested before being allowed on the open market. In many cases they're also sterilized so exactly what you described won't happen.
Sure, it's not 100% foolproof but neither is nature itself. Mutation is random and happens all the time.