In JetBrains TeamCity prior to 2021.2.3, environment variables of the "password" type could be logged in some cases.
jetbrains teamcity