I can’t imagine that there is any danger from the extra humidity, but there could be danger of burns from a steam type of humidifier if the baby gets close to the steam, or from legionnaires if you don’t use and look after any type of humidifier properly. Of course, increased humidity can be beneficial too. So, if you take proper precautions and look after the device as specified by the manufacturer, then you should be good.