CVE-2025-67720
Last modified
CVE-2025-67720 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-67720?
How severe is CVE-2025-67720?
How do I fix CVE-2025-67720?
Are you affected by CVE-2025-67720?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
