Path Traversal in Mayuri-Chan Pyrofork
CVE-2025-67720
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.003 (19.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
Affected products
- Mayuri-chan Pyrofork — versions < 2.3.69
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-67720?
- CVE-2025-67720 is a medium-severity vulnerability in Mayuri-Chan Pyrofork, classified under Path Traversal. CVSS score: 6.5/10. Published 2025-12-11.
- How severe is CVE-2025-67720?
- Medium severity. CVSS v3 base score is 6.5 out of 10.