Is it safe to drive with a bad coolant temperature sensor?

A faulty coolant temperature sensor can cause the ECU to run rich fuel mixtures and prevent the cooling fan from operating correctly, risking engine overheating. Replace it promptly - it is a low-cost part that can prevent expensive engine damage.