CVE 6.5 MEDIUM

Pyrofork has a Path Traversal in download_media Method_CVE-2025-67720

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

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.

Basic Information

ID CVE-2025-67720
Source GitHub_M
Published Dec 11, 2025 at 01:25

Affected Product

Vendor Mayuri-Chan
Product pyrofork
Version < 2.3.69
Affected Versions Mayuri-Chan pyrofork < 2.3.69

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.