Osegi
Security·1 min read

Telegram HTML widgets had an Android remote code execution bug

Researchers at V12 showed that Telegram's new in-chat HTML widgets could be used to run code remotely on Android. The company has already shipped a fix.

Telegram's brand-new interactive widgets had a serious hole within days of launch. Security researchers at V12 demonstrated a Telegram RCE vulnerability, meaning remote code execution, in the Android app. Telegram has already released a fix.

The feature in question arrived on 9 November with Bot API 10.4. It lets bots send interactive HTML widgets straight into a conversation. Unlike Mini Apps, which open as a separate app, these widgets live inside the chat itself. They support HTML, CSS and JavaScript, and the JavaScript is meant to run in an isolated QuickJS environment, a small JavaScript engine used as a sandbox.

According to the researchers, that isolation was not enough to keep the code contained on Android. The summary we have does not say how the exploit worked, so those details are not covered here.

What is remote code execution?

Remote code execution means an attacker can make your device run code they chose, from a distance. It is among the most serious kinds of bugs, because it can start from something as ordinary as a message arriving in a chat.

Is Telegram on Android safe now?

The developers have released a patch, so the practical advice is simple: update Telegram on Android to the latest version. The flaw affected the Android app specifically, according to the researchers.

The timeline is short. The widgets were introduced on 9 November, and the research was public by 11 November. New features that run code inside a chat are an attractive target, and this one was tested quickly.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:telegramrcevulnerabilityandroidbot apihtml widgets

More from this day

See all →

More in: Security

See all →