CVE-2025-67720

Pyrofork has a Path Traversal in download_media Method

Published Dec 11, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6h2f-wjhf-4wjx Pyrofork has a Path Traversal in download_media Method
History
Type Values Removed Values Added
First Time appeared Pyrofork Project
Pyrofork Project pyrofork
Vendors & Products Pyrofork Project
Pyrofork Project pyrofork
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Pyrofork has a Path Traversal in download_media Method
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 11, 2025, 3:35 PM
Reserved
Dec 10, 2025, 6:46 PM
Status
Deferred
Published
Dec 11, 2025, 2:16 AM
Modified
Oct 8, 2026, 10:10 AM