As an example, let's say one country poisoned the leader of another country 20 years ago and covered it up. Exposing that information could start a war.
If it's the right action to leak that information is entirely dependent on your moral philosophy. Utilitarians would generally want to keep it a secret, though.