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
telegram-account-takeover-poc — CVE-2026-107181 Proof Of Concept for telegram Desktop account take over in windows | Kitploit
Tools/GitHubGitHub/00nx/telegram-account-takeover-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationPenetration TestingPapers & Research
GitHub
00nx/telegram-account-takeover-poc

telegram-account-takeover-poc

CVE-2026-107181 Proof Of Concept for telegram Desktop account take over in windows

View Repository
311 month agoNot yet reviewed
Share

telegram-cve-2026-107181-poc

Telegram Desktop · IPC Injection Research

A research PoC examining unsafe deep-link handling and local-file exposure risks.


Research CVE Platform Node.js


Research scope: controlled, authorized testing only. The current instruction-file defaults refer to sensitive Telegram session artifacts. Do not test against a real account or another person's device.


Contents

  • At a glance
  • Why this is not conventional RCE
  • How the vulnerability works
  • Repository structure
  • Requirements
  • Install and inspect
  • Instruction files
  • Project scripts
  • Testing and research notes
  • Safety checklist
  • References
  • License

🔎 At a glance

FieldDetails
IdentifierCVE-2026-107181
ProductTelegram Desktop
Technical classIPC record-separator injection
Reported impactArbitrary local-file read/exfiltration; potential account takeover
User interactionA user must open a crafted link
Affected versions reported by the researchThrough 7.2.8
Fixed version reported by the research7.2.9
LanguageJavaScript / Node.js
RuntimeNode.js 18+

Verify affected-version ranges and CVE status against the authoritative record and vendor release history before citing them in a report.

🧠 Why this is not conventional RCE

The exploit chain is sometimes loosely described as “RCE,” but the demonstrated impact is more precisely IPC command injection leading to arbitrary file read and data exfiltration, with potential account takeover.

  • Injection: an unescaped record separator can make a crafted URI produce additional IPC records.
  • Unsafe handler: an injected record can reach a legacy internal file-handling path without appropriate authorization checks.
  • Impact: local files can be sent to a remote chat. Exposed session material may allow an account to be compromised.

That is a serious vulnerability, but it is not the same as demonstrating arbitrary native code execution or an operating-system shell on the victim's machine. In research notes, describe the demonstrated class and impact rather than relying on the repository name.

🧭 How the vulnerability works

The following is a high-level analysis flow, not an exploit recipe:

flowchart TD
    A["External link"] --> B["Telegram Desktop URI handling"]
    B --> C["Single-instance IPC parsing"]
    C --> D["Unexpected record interpretation"]
    D --> E["Legacy file-handling path"]
    E --> F["Potential local-file exposure"]
    F --> G["Potential account takeover if session material is exposed"]

    classDef entry fill:#172554,stroke:#60a5fa,color:#eff6ff
    classDef risk fill:#3f1d2e,stroke:#fb7185,color:#fff1f2
    class A,B,C entry
    class D,E,F,G risk

The key lesson is the combination of an input-parsing flaw and a sensitive internal operation reachable from that input path. Analyze the parts separately and validate only with harmless fixtures in an isolated lab.

🗂️ Repository structure

.
├── bin/
│   └── craft.js
├── scripts/
│   └── generate-instructions.js
├── samples/
├── src/
│   ├── bot.js
│   ├── config.js
│   ├── instructions.js
│   ├── payload.js
│   └── server.js
├── test/
│   └── payload.test.js
├── output/       # generated local files; keep out of Git
├── loot/         # received files; may contain sensitive data
├── server.js     # application entry point
├── package.json
└── README.md

Review server routes, bot integration, filesystem writes, and generated instruction contents before running any component. The tree describes the code layout; it is not a recommendation to enable every component.

⚙️ Requirements

  • Node.js 18 or newer
  • npm (included with Node.js)
  • Git
  • A disposable test environment for any dynamic analysis

Verify your local tools:

node --version
npm --version
git --version

📥 Install and inspect

Clone your own repository. Replace the URL and directory placeholders with the actual values for your GitHub repository:

git clone https://github.com/00nx/telegram-account-takeover-poc.git
cd telegram-account-takeover-poc
npm install

For an initial, non-invasive review, inspect the available scripts and run the test suite:

npm run
npm test

Before starting the server

The current server includes a crafted-link route, file-receiving routes, and an optional Telegram Bot API bridge. The current instruction generator also defines sensitive session-file targets. Do not run the server or generate/deploy those instructions against a real Telegram profile.

For safe experimentation, first replace the default targets with harmless synthetic marker files, use a test-only destination, and review or disable network/file-transfer handlers that are not needed. Keep the test isolated and do not expose it to the public internet.

The uploaded files reviewed for this README did not include a guaranteed .env.example; check the repository contents before copying one rather than assuming it exists.

🧾 Instruction files: how many are configured?

The source currently defines 3 default instruction entries. The default configured filenames are:

  • instructions1.txt
  • instructions2.txt
  • instructions3.txt

The generator writes one file for each configured entry. The current default entries point to Telegram session-related files, so these are not harmless sample targets. The generated content also depends on local configuration, including CHANNEL_ID and TDATA_PREFIX.

For safety, this README does not provide a turnkey command sequence for generating and deploying the current session-targeting instruction files. For a benign lab demo, change the entries to synthetic files first, then inspect the generated output before use. Never commit generated files, tokens, destination IDs, or captured artifacts.

🧩 Project scripts

The package.json defines these npm scripts:

CommandPurposeCaution
npm testRuns the Node.js test suiteRecommended first step for code review
npm runLists available npm scriptsUseful for script discovery
npm run startStarts the Express applicationStarts active routes; review and isolate first
npm run instructionsGenerates instruction filesCurrent defaults target sensitive session artifacts
npm run craftPrints a crafted protocol payloadReview implementation; do not use against others

These commands are documented for auditability, not as a recommendation to run potentially sensitive functionality.

🧪 Testing and research notes

A useful research report should capture:

  • Telegram Desktop version, distribution source, and operating system
  • Node.js version and repository revision
  • Preconditions and user-interaction requirements
  • Expected behavior versus observed behavior
  • Relevant logs and timestamps, with tokens and personal data removed
  • Whether the behavior reproduces with harmless fixtures
  • Whether the result changes on a fixed version

Passing repository tests validates only the code paths covered by those tests. It does not establish that a live Telegram Desktop build is vulnerable.

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 →