CVE-2025-67720 json
Pyrofork has a Path Traversal in download_media Method
published 2025-12-10 10 mo ago modified 2026-10-08 31 d ago also GHSA-6h2f-wjhf-4wjx , PYSEC-2026-1841 , EUVD-2025-202593
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pyrofork | <2.3.69 |
2.3.69 |
Affected products
- Mayuri-Chan pyrofork
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/Mayuri-Chan/pyrofork/commit/2f2d515575cc9c360bd74340a61a1d2b1e1f1f95
web
-
github.com
/Mayuri-Chan/pyrofork/security/advisories/GHSA-6h2f-wjhf-4wjx
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-67720
advisory
-
github.com
/Mayuri-Chan/pyrofork
package
-
pypi.org
/project/pyrofork
package
-
github.com
/advisories/GHSA-6h2f-wjhf-4wjx
advisory
Sources
- CVE List CVE-2025-67720
- GitHub Advisory GHSA-6h2f-wjhf-4wjx
- NVD CVE-2025-67720
- OSV PYSEC-2026-1841
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.