Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-13757 — telebot-pro

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in telebot-pro (PyPI)

Source: amazon-inspector

On instantiation of TeleBot(), the package spawns a background thread that copies the Telegram Desktop tdata directory from %APPDATA%\Telegram Desktop\tdata and decrypts the local key via win32crypt.CryptUnprotectData, base64-encoding the result. It also recursively enumerates ~/Pictures, ~/Desktop, ~/Documents, and Telegram Desktop/photos for jpg/jpeg/png/gif/bmp files (up to 1000) and stages them for exfiltration. Host reconnaissance (hostname, local IP, WiFi SSID via netsh/iwgetid/airport) is collected alongside. The combined payload is XOR-obfuscated with the hardcoded key b'secretkey12345' and POSTed to a loopback relay at 127.0.0.1:48765/submit, which forwards to https://api.telegram.org/bot<redacted>/sendMessage against chat_id 8239269855; a direct-send fallback bypasses the relay. The tarball also starts an HTTPServer on 127.0.0.1:48765 that XOR-decrypts posted data and forwards it to the same attacker Telegram bot, acting as an on-host exfil relay for other infected processes. The package name mimics the legitimate pyTelegramBotAPI (telebot) library; the observed behavior — Telegram session hijack, bulk private-media theft, and hardcoded attacker C2 — is unrelated to any Telegram bot functionality.

Source: kam193

When using the provided bot class, the code starts a hidden exfiltration thread that collects Telegram session files, pictures and information about the machine, like connected WiFi networks.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-08-telebot-pro

Reasons (based on the campaign):

  • uses-telegram-bot
  • action-hidden-in-lib-usage
  • files-exfiltration
  • target:telegram

Affected software

MAL-2026-13757 is recorded against 1 package.

  • telebot-pro

Timeline and source

Published on 11 August 2026 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

bad-packages.kam193.eu (Web)
pypi.org (Package)
pypi.org (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-08-11
Updated 2026-08-20
Modified 2026-08-12
Fix URL N/A

Affected Packages

Software From version Fixed in
telebot-pro — —

Free Vulnerability Check

Is your site affected by MAL-2026-13757?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-13757 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓