Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/abdugafforov-bobur/cve-2026-107181-poc
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationData Exfiltration
GitHubabdugafforov-bobur/cve-2026-107181-poc

cve-2026-107181-poc

Share

Proof-of-concept exploit for CVE-2026-107181 in Telegram Desktop ≤7.2.8, chaining IPC record-separator injection with the interpret: URI scheme to exfiltrate session files and take over accounts.

View Repository
920 days agoNot yet reviewed

CVE-2026-107181 — Telegram Desktop one-click account takeover

PoC for an IPC record-separator injection in Telegram Desktop ≤ 7.2.8 that chains into arbitrary local file read via the internal interpret: URI scheme, exfiltrating session files for a full account takeover.

  • CVE: CVE-2026-107181 — CVSS 8.1 High (CWE-143)
  • Affected: Telegram Desktop ≤ 7.2.8 (confirmed Windows)
  • Fixed: 7.2.9, commit db3405699f
  • Original writeup: beaksec.github.io

Lab / educational use only. The vulnerability is patched. Only ever run this against systems and Telegram accounts you own.

How it works

  1. A clicked tg:// link is forwarded to the already-running Telegram process over its single-instance socket as text records: OPEN:<url>;
  2. Semicolons in the URL are not escaped, so the receiver splits one link into multiple commands — classic record-delimiter injection.
  3. OPEN: accepts any scheme, including the internal interpret:, a leftover release-tooling helper that reads an instruction file (channel: / file: / caption:) and uploads the named local file to a chat — no confirmation, no authorization check.
  4. Telegram's default auto-download places group files ≤ 8 MiB at a predictable path, which delivers the attacker's instruction files.
  5. The three files that constitute a Telegram Desktop session (tdata/key_datas, tdata/D877F783D5D3EF8Cs, tdata/D877F783D5D3EF8C/maps) are exfiltrated. With no local passcode set, the KEK derives from an empty password — so these files alone rebuild the victim's session.

Usage

Requirements: a Windows VM with Telegram Desktop 7.2.8 (block the auto-updater), two test Telegram accounts, a supergroup you control.

git clone https://github.com/abdugafforov-bobur/cve-2026-107181-poc.git
cd cve-2026-107181-poc
pip install -r requirements.txt   # none, stdlib only

# 1. generate instruction files + start the redirect server
python3 exploit.py -c 4488553400 -p 8080

Then:

  1. Get your supergroup's bare ID (forward a group message to @userinfobot; strip the -100 prefix from what it reports).

  2. Post out/i1.txt, out/i2.txt, out/i3.txt as file attachments (documents, not photos) into the supergroup.

  3. Post the link the server prints (http://<your-ip>:8080/go) in the group.

  4. On the victim VM: open the group (files auto-download), ensure Telegram is running, click the link, approve "Open Telegram?".

  5. The three session files appear in the group. Rebuild:

    tdata/key_datas                 <- key_datas
    tdata/D877F783D5D3EF8Cs         <- D877F783D5D3EF8Cs
    tdata/D877F783D5D3EF8C/maps     <- maps
    

    Start Telegram on a fresh install → victim's session opens.

Notes

  • channel: takes the bare MTProto peer id (-1004488553400 → 4488553400); the -100 form parses to id 0 and fails.
  • Instruction files must be plain ASCII, LF endings, no BOM; omitting the from: line skips the account-id check.
  • One file: line per instruction file (only the last counts) — hence three files and three stacked OPEN: commands.
  • Relative paths resolve from %APPDATA%\Telegram Desktop, so ../../../Downloads/Telegram%20Desktop reaches the auto-download folder without knowing the username.

Mitigation

Upgrade to Telegram Desktop ≥ 7.2.9. Short of that: enable "ask where to save each file" (kills auto-download), restrict who can add you to groups, and set a local passcode (doesn't stop theft, but makes the stolen session undecryptable).

References

  • Telegram Desktop one-click account takeover (BeakSec)
  • VulnCheck advisory
  • Patch commit db3405699f

Disclaimer

Provided for educational and defensive research. The vendor fixed this in September 2026; do not use this against systems or accounts without explicit authorization. You are responsible for your actions.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    894
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    821
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    649
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    450
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    437
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    389

Explore all tools

Browse our collection of tools

View all tools →