Some antifungal drugs do cross the blood-brain barrier. I have a relative who was treated as a child for a fungal infection in the brain.