Looks like an abrasion that has scraped the outer layer of skin off. Does the enclosure have any decorations that the snake can squeeze its head into tight spaces? Check it out thoroughly. A vet visit isn't necessary at this stage - it looks like a very superficial scrape, and will probably repair fully after a shed or two, but you will need to find out how it happened.
Jamie