Skip to main content
← All vulnerabilities
CVE-2025-67720PYSEC-2026-1841GHSA-6H2F-WJHF-4WJX

Pyrofork has a Path Traversal in download_media Method

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.69
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Mayuri-Chan pyrofork

    fixed in 2.3.69

  • pyroforkPyPI

    fixed in 2.3.69

References 2

GitHub · Mayuri-Chan/pyrofork