CVE-2025-67720

MEDIUM

Pyrofork < 2.3.69 - Path Traversal via Telegram Media Filename

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.5
EPSS 0.0005
EPSS Percentile 15.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
Mayuri-Chan/pyrofork < 2.3.69
pypi/pyrofork 0 - 2.3.69PyPI
Published Dec 11, 2025
Tracked Since Feb 18, 2026