Pyrofork has a Path Traversal in download_media Method
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mayuri-Chan | pyrofork | before 2.3.69 | 2.3.69 | Patch available | CNA |
| — | pyrofork (PyPI) | before 2.3.69 | 2.3.69 | Patch available | GHSA-6h2f-wjhf-4wjx |
- pyrofork VendorMayuri-Chan Affected before 2.3.69 Fixed in 2.3.69 Patch available CNA
- pyrofork (PyPI) Vendor— Affected before 2.3.69 Fixed in 2.3.69 Patch available GHSA-6h2f-wjhf-4wjx
Remediation
- Fix · CNA pyrofork (Mayuri-Chan) Fixed in 2.3.69
- Fix · GHSA-6h2f-wjhf-4wjx pyrofork (PyPI) Fixed in 2.3.69 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67720
- 2026-10-03 Alias added: GHSA-6h2f-wjhf-4wjx
References
Sources
- CVE-2025-67720 · CVE Program
- CVE-2025-67720 · NVD
- FIRST EPSS
- GHSA-6h2f-wjhf-4wjx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences