More than likely just a condition caused by bad water quality. One of my goldfish has it.
Not sure if it's temporary yet, but it's been a couple of weeks so I think it's a permanent thing.
The fish should be fine, maybe sight affected a little. I've come across it a few times before and the fish hasn't suffered or been picked on as a result.
Good luck