How-to

Telegram Desktop Bug Could Hijack Accounts in One Click: How to Stay Safe

A flaw in Telegram Desktop before version 7.2.9 let one malicious link steal the files behind your login. Here is how to check your version, update and lock things down.

Quick Tech · 5 min read
Telegram Desktop open on a laptop with a warning symbol over the settings screen, showing an update to version 7.2.9
In this post9 sections
  1. What the Telegram Desktop bug actually did
  2. Why the local passcode matters so much
  3. Who is affected
  4. Step 1: Check your Telegram Desktop version and update
  5. Step 2: Set a Telegram local passcode
  6. Step 3: Stop strangers adding you to groups
  7. Step 4: Turn off automatic file downloads
  8. Step 5: End sessions you don't recognise
  9. What to watch next

A Telegram Desktop vulnerability, tracked as CVE-2026-107181, let an attacker take over someone's account after the victim clicked a single link. It affects every Telegram Desktop version before 7.2.9, and the fix has been available since 17 September 2026. If you use Telegram on a laptop or PC, checking takes less than a minute, and a few settings changes make this kind of attack much harder.

Telegram Desktop Bug

What the Telegram Desktop bug actually did

The flaw was found by security researcher Emiliano Versini, who publishes as beaksec. He reported it through Trend Micro's Zero Day Initiative on 25 June 2026 and published a detailed write-up on 3 October. Security firm VulnCheck issued the CVE on 7 October and rates it High, 8.6 out of 10. The researcher's own score is 8.1, which is also High.

In plain terms: a specially crafted link could trick Telegram Desktop into running a hidden internal feature that reads files from your computer and sends them to a chat the attacker controls. The files it went after are the ones that keep you logged in. With them, an attacker can open your Telegram session on their own machine, much like stealing a website's login cookie.

There were a few conditions. The attacker first had to get some files onto your computer, which they did by adding you to a group and posting attachments that Telegram downloaded automatically. Then you had to click a normal-looking web link sent from outside Telegram. Your browser might show a prompt asking to open Telegram first.

Why the local passcode matters so much

Telegram Desktop encrypts the login data it keeps on your computer. But if you have not set a local passcode, which is the default, the key that unlocks that data can be worked out from one of the stolen files. That is what turns file theft into full account takeover.

According to the researcher, a local passcode does not stop the files from being stolen, but it makes the stolen session useless to the attacker. So it is worth setting even after you update.

Who is affected

VulnCheck's advisory lists every Telegram Desktop release below 7.2.9 as affected. The researcher confirmed the attack on Windows. Neither source names other platforms specifically, so if you run Telegram Desktop on a Mac or Linux, the safe move is to update anyway.

Telegram's phone apps are not part of this advisory. On Mac, there are two Telegram apps: Telegram Desktop and a separate app simply called Telegram. The advisory covers Telegram Desktop. Updating both costs you nothing.

Telegram fixed the bug quietly. The 7.2.9 release notes only mention an animation rendering fix, and there was no security notice. Many people may not realise this update mattered.

Step 1: Check your Telegram Desktop version and update

  1. Open Telegram Desktop and go to Settings, then Advanced.
  2. Look under Version and updates. If the number shown is lower than 7.2.9, click Check for updates and restart the app when asked.
  3. While you are there, turn on Update automatically so future fixes arrive without you having to remember.
  4. On a Mac, if you installed Telegram Desktop from the Mac App Store, open the App Store, go to Updates and update it from there.
  5. On Windows, if you installed it from the Microsoft Store, update it through the Store's Library page.

Step 2: Set a Telegram local passcode

This is the single best extra protection, because it makes stolen login files useless.

  1. Go to Settings > Privacy and Security.
  2. Find Local passcode and turn it on.
  3. Choose a proper password, not 1234. The researcher specifically recommends treating it like a real password.
  4. Set the auto-lock time to something short if other people use your computer.

Step 3: Stop strangers adding you to groups

With Telegram's default privacy settings, someone can add you to a group without asking. That group is where the attacker drops files on your computer. Closing this gap also cuts down on spam.

  1. Go to Settings > Privacy and Security > Groups & Channels.
  2. Under who can add you, choose My Contacts.
  3. This setting applies to your whole account, so you can also change it from your phone.

Step 4: Turn off automatic file downloads

The researcher calls this the most effective protection after updating, because the attack needs files to land on your disk without you noticing.

  1. Go to Settings > Advanced.
  2. Turn on Ask download path for each file. Telegram will then ask before saving any file.
  3. Under Automatic media download, open In groups and In channels and switch off Files. You can keep photos on if you like.

Step 5: End sessions you don't recognise

If you were running an old version, check that nobody else is logged in as you.

  1. On your phone, open Telegram Settings > Devices. On desktop, look for Active sessions or Devices under Privacy and Security.
  2. Look for any device, location or time that doesn't match your own.
  3. End any session you don't recognise, or use Terminate all other sessions to sign out everything except the device in your hand.
  4. Turn on Two-Step Verification under Privacy and Security if you haven't already, so a new login also needs your password.

One catch: a stolen session is a copy of your computer's own login, so it may look exactly like your PC in the list. If you think you were targeted, the safest move is to terminate all other sessions from your phone, then log back in on your computer after updating.

What to watch next

Telegram has not published a security advisory about this bug, and neither source reports it being used against real users so far. Now that the technical details are public, though, attempts become more likely. Be wary of links from people you don't know, especially ones that try to open the Telegram app from your browser.

If this has you thinking about your other accounts too, our 60-Minute Privacy & Security Reset walks through the same kind of checks for your phone, email and social apps.

Sources

  1. VulnCheck advisory: Telegram Desktop before 7.2.9 IPC record injection file exfiltration via interpret scheme (CVE-2026-107181)
  2. Telegram Desktop v7.2.9 release (GitHub)
  3. beaksec: Telegram Desktop one-click account takeover

Found this useful? Send it to someone who should read it.

Keep reading

More from the blog

All posts

Your cart

Checkout securely

Pay by UPI, card or net banking. Files arrive instantly.