
Let the cat out of the bag
Accidental Disclosure
Used when someone reveals a secret without intending to do so. It suggests a mistake, not a deliberate action. 
Figurative Phrase
An expression not about cats or bags. Understand it as a colorful way of saying 'reveal a secret'. 
Informal Context
Best used in casual conversations. Might be too informal for serious or formal writing. 