CVE-2025-67720: Mayuri-Chan pyrofork · Path Traversal
Affects Mayuri-Chan pyroforkSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.3.69 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.69
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade mayuri-chan/pyrofork to 2.3.69.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubmayuri-chan/pyroforkpkg:github/mayuri-chan/pyroforkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade pyrofork to version 2.3.69 or later to apply the official fix. Until upgrade is possible, implement strict input validation and sanitization on filenames derived from Telegram messages, rejecting or neutralizing any path traversal sequences such as '../'. Employ file system access controls and sandboxing to restrict the directories where pyrofork can write files, minimizing potential damage from exploitation. Monitor logs for suspicious file write activities and unexpected file modifications. Consider disabling automatic media downloads or requiring explicit user confirmation before downloading files. Additionally, apply network-level filtering to limit exposure to untrusted Telegram messages where feasible. Conduct security reviews of Telegram bot implementations to ensure they do not blindly trust user-supplied filenames. Finally, maintain awareness of updates and advisories related to pyrofork and Telegram API integrations.
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.