Security researchers at NebuSec have published a technical analysis showing two distinct ways to bypass the security measures Telegram added to its Android app last week, allowing malicious widgets to execute code outside the intended sandbox.
Widgets are small interactive JavaScript blocks that bots can send inside chat messages. After initial reports of code execution surfaced, Telegram moved the QuickJS engine into its own process and applied a seccomp filter that restricts system calls. Both changes appear in the source code for Telegram for Android 13.2.2 (7303).
NebuSec researchers demonstrated that one exploit uses a widget bug the filter does not cover, while the second chains a covered widget bug with a kernel vulnerability. In their video proof-of-concept, a widget on Android 13.2.2 (7303) successfully bypasses the filter and launches the device calculator application.
The published source code reveals the seccomp filter is currently set to audit mode, meaning it records but does not block most listed calls such as ioctl. A single use-after-free or out-of-bounds write in QuickJS is sufficient to read and write process memory, rendering the sandbox rules ineffective. All widgets from every bot also share the same process memory.
Separately, Kaspersky reported detecting suspected exploitation of Telegram widgets that silently executed a PowerShell script to download and run WebRAT, also known as Salat Stealer. The malware grants remote control and targets cryptocurrency wallets and Telegram account data.
Telegram CEO Pavel Durov stated that no user could be compromised merely by receiving a message and that server-side restrictions remain in place. Researchers have not yet disclosed full exploit details or any assigned CVE identifiers.


