CVE-2025-67720

Medium

Description

Pyrofork is a modern, asynchronous MTProto API framework. Versions 2.3.68 and earlier do not properly sanitize filenames received from Telegram messages in the download_media method before using them in file path construction. When downloading media, if the user does not specify a custom filename (which is the common/default usage), the method falls back to using the file_name attribute from the media object. The attribute originates from Telegram's DocumentAttributeFilename and is controlled by the message sender. This issue is fixed in version 2.3.69.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPyrofork
PublishedDec 11, 2025
First seenDec 11, 2025

How to fix

Update
  • pyrofork2.3.69 or later

Affected products

ProductAffected versionsFixed in
pyroforkPyPIv < 2.3.692.3.69

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.