The secret leaked to the outside.

Literal

Secret [subject-が] outside [to-に] leaked.

外部に漏れた specifies the direction: the secret reached people outside the group.