Rear brakes are the usual cause. Release the brakes completely, and you should recover.

I had this happen once, going into a hairpin a little hot after getting new brake pads. Had a car right behind me as it happened, and no shoulder. I released the brakes completely and the bike stood up straight as I came out of the turn and the people in the car, when it passed me on the straight, gave me a big thumbs up.