Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03079-3, published online 21 June 2024.

In the version of the article initially published, two references were missing and have now been added as refs. 13 and 14: Parker, H. et al. Haematopoietic stem cell gene therapy with IL-1Ra rescues cognitive loss in mucopolysaccharidosis IIIA. EMBO Mol. Med. 12, e11185 (2020) and Mandolfo, O., Parker, H. & Bigger, B. Innate immunity in mucopolysaccharide diseases. Int. J. Mol. Sci. 23, https://doi.org/10.3390/ijms23041999 (2022). Citations of these references have been added to the fourth paragraph of the introduction, and the first paragraph of the Discussion. These corrections have been made to the HTML and PDF versions of the article.