let the cat out of the bag
Explanation: When you let the cat out of the bag, you reveal a secret.
How to use it: [someone] lets the cat out of the bag
Example: Jack let the cat out of the bag when he accidentally mentioned Bob’s retirement plans to the boss.