Klebsiella pneumoniae is mainly spread through direct person-to-person contact, particularly in healthcare settings. It is also transmitted through contaminated hands, medical devices, or environmental surfaces. The bacteria can enter the body through wounds, catheters, or ventilators, making hospitalized patients particularly vulnerable.