Pope Leo XIV said Sunday he would undergo surgery in the coming days for a lung nodule detected at an early stage.