Telegram Desktop through 2.1.13 allows a spoofed file type to bypass the Dangerous File Type Execution protection mechanism, as demonstrated by use of the chat window with a filename that lacks an extension.
https://security.gentoo.org/glsa/202101-34
https://github.com/telegramdesktop/tdesktop/releases/tag/v2.2.0
https://github.com/VijayT007/Vulnerability-Database/blob/master/Telegram-CVE-2020-17448