I honestly think fungal infection is way off here. White/light colored snakes show blemishes far easier than a more darkly pigmented snake. It probably laid on its head in an odd way or had a few tough scales on its last shed. Make sure husbandry parameters are on point, nothing sharp/too abrasive in the cage, and let it shed then go from there.
Similar thread from a couple years ago. Never heard back from the OP but I'd guess that's because it resolved itself
https://ball-pythons.net/forums/show...ld-ball-python