CVE-2025-67720Mayuri-Chan pyrofork
Medium 6.5 No auth needed
Follow: this CVE · Mayuri-Chan · Mayuri-Chan pyrofork We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Dec 11, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for pyrofork.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyrofork |
< 2.3.69 |
2.3.69 |
pip install "pyrofork>=2.3.69" |
| PyPI | pyrofork |
< 2.3.69 |
2.3.69 |
pip install "pyrofork>=2.3.69" |
Per OSV / GitHub Advisories (GHSA-6h2f-wjhf-4wjx, PYSEC-2026-1841). Check the version in your lockfile before upgrading.
Affected products
- Mayuri-Chan · pyrofork
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.