# Telegram Desktop Flaw Lets a Single Click Hijack Your Account

Original title: Telegram Desktop vulnerability allowed any user's file to be stolen

> Hacker News story 50029123 · language: en · submitted 2026-10-10
> Web version: https://zeli.app/story/50029123
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 460 · by [g-b-r](<https://news.ycombinator.com/user?id=g-b-r>) · 💬 311
[original](<https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/>) · [HN discussion](<https://news.ycombinator.com/item?id=50029123>)

## Summary

A two-part vulnerability in Telegram Desktop through 7.2.8 turns a clicked link into arbitrary file read. The first flaw is command injection in the local socket protocol: a semicolon inside a URL splits into extra commands. The second is the internal interpret: scheme, which reads any file and sends it to a chat without authorization. Together they exfiltrate the tdata encryption keys, enabling full account takeover. Fixed in 7.2.9.

## Key quote

> So a crafted link does not arrive as one instruction: it arrives as several.

## HN discussion (311 comments)

### [farhanhubble](<https://news.ycombinator.com/item?id=50033025>)

> I once read The Bugs We Have to Kill: https://www.usenix.org/publications/login/aug15/bratus and one particular thing that has stuck with me forever:
>
> “Any sufficiently complex input format is indistinguishable from
>
> bytecode; the code receiving it is indistinguishable from a vir-
>
> tual machine.”

### [bita_nidir](<https://news.ycombinator.com/item?id=50034064>)

> Related: could we please stop, by default, allowing software to:
>
> a) access all your files, and
>
> b) roam the internet at will.
>
> That was somewhat OK in the 80s, but it hasn't been since.

### [crossroadsguy](<https://news.ycombinator.com/item?id=50032509>)

> One of the challenges with Telegram is - they regularly re-enable settings inside the app/account that you had specifically disabled. So at any point you don't know what is happening and what is not. Meaning, even if you didn't see a thing, a malicious file might be sitting all warm and fuzzy on your computer - among possible other things. I used to like the snappiness of this app (and it is still snappier than almost all other IM apps combined, by a margin), but after a while I realised it was a ticking time-bomb (to keep it installed on the desktop) and possibly a scammer safe haven, nothing else.

### [SpacePortKnight](<https://news.ycombinator.com/item?id=50030816>)

> I think it is one of the reasons why I am always hesitant to install any software on my windows pc. Web versions are often more than good enough.

### [usr1106](<https://news.ycombinator.com/item?id=50030173>)

> I don't use Telegram Desktop or Windows. But that's exactly the reason why I run Firefox in a firejail sandbox on Linux. The browser has only access to my Downloads folder. I know that it's considered untrusted and don't keep any files there for a long time.

### [Panzerschrek](<https://news.ycombinator.com/item?id=50029822>)

> It's not strictly-speaking a Telegram-specific vulnerability. It's a vulnerability of all modern desktop operating systems allowing any user process to read/write any user file. Ideally all programs should be isolated from the underlying filesystem and be able to read only their own files and files from per-program data directory (like downloads for a browser or Telegram-client).

### [Narushia](<https://news.ycombinator.com/item?id=50031752>)

> It's great that this writeup was published, but unfortunately the text is full of claudisms and made me close the tab pretty quickly.

### [tptacek](<https://news.ycombinator.com/item?id=50038388>)

> I don't like Telegram and don't think it should be considered a "secure messenger" in the sense end-to-end encrypted messengers are, but I don't think there's all that much to learn from basic clientside coding failures like this. All applications have these kinds of bugs.

### [RachelF](<https://news.ycombinator.com/item?id=50031216>)

> It looks very bad that Telegram took almost 3 months to fix this vulnerability.
>
> Reported 25 June
>
> Fixed 16 September
>
> I wonder why it took them so long?

### [erelong](<https://news.ycombinator.com/item?id=50029673>)

> I thought telegram was flagged as insecure like a decade ago, it's never really been "very secure"
>
> Like any number of articles like this: https://hackernoon.com/7-reason-why-telegram-is-insecure-by-...

---

## Cite

- Page: https://zeli.app/story/50029123
- Date: 2026-10-10
- Source: beaksec.github.io (https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/)
- Hacker News: https://news.ycombinator.com/item?id=50029123

## Other languages

- zh: https://zeli.app/zh/story/50029123 · markdown: https://zeli.app/zh/story/50029123.md
- ja: https://zeli.app/ja/story/50029123 · markdown: https://zeli.app/ja/story/50029123.md
- ko: https://zeli.app/ko/story/50029123 · markdown: https://zeli.app/ko/story/50029123.md
- de: https://zeli.app/de/story/50029123 · markdown: https://zeli.app/de/story/50029123.md
- es: https://zeli.app/es/story/50029123 · markdown: https://zeli.app/es/story/50029123.md
- ru: https://zeli.app/ru/story/50029123 · markdown: https://zeli.app/ru/story/50029123.md
