Critical Vulnerability in Desktop Telegram Allows Device Takeover
A critical vulnerability has been discovered in the desktop version of Telegram, allowing attackers to gain full control over a user's device. The issue affects the QuickJS-ng library and is present in recent versions of the TDesktop client.
The attack mechanism is similar to a previous flaw in the Android app: sending a specially crafted message is enough for a successful hack. Through the vulnerability in the script interpreter, an attacker gains access to process memory and can take control of a PC or smartphone.
The vulnerability was identified in the current version of the TDesktop application (v7.4.2), as well as in all other clients using the QuickJS-ng library without the corresponding security patch.
To protect against attacks, it is recommended to follow these precautions:
- Do not use third-party widgets within the messenger
- Do not open messages from unknown senders
- Avoid interacting with suspicious links and files









