Meaning: the secret is no longer a secret because people know what the secret is. (See Jig is up)
Example: Mom didn't want me to know what my Birthday present was but the cat's out of the bag because I saw her hide it in the closet.
See this Idiom in a story: Back To School , Santa Claus (Choose Your Own Adventure)