Impaired antibacterial autophagy links granulomatous intestinal inflammation in Niemann–Pick disease type C1 and XIAP deficiency with NOD2 variants in Crohn's disease. Here, XIAP is linked to Niemann-Pick disease, type C1.