In JetBrains TeamCity prior to 2020.2.4, insufficient checks during file uploading were made.
jetbrains teamcity