The key here is that someone has already told the police what evidence of a crime they will find in the car. Thus the figure of speech, "cat's out of the bag." And once they've done this ...