In JetBrains TeamCity prior to 2019.1.2, access could be gained to the history of builds of a deleted build configuration under some circumstances.
jetbrains teamcity