DIFFERENTIAL DIAGNOSIS: The five principal causes of masses apply, but we can eliminate those that never cavitate. As cavitation requires central necrosis and communication with a bronchus, the most likely choices are malignancy and inflammation, including granulomatous.