{"cve":"CVE-2025-67720","nvd":{"published":"2025-12-11T02:16:19.090","modified":"2026-10-08T10:10:00.227","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/Mayuri-Chan/pyrofork/commit/2f2d515575cc9c360bd74340a61a1d2b1e1f1f95","https://github.com/Mayuri-Chan/pyrofork/security/advisories/GHSA-6h2f-wjhf-4wjx"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:16:40.427100871+00:00"},"epss":{"cve":"CVE-2025-67720","score":0.00318,"percentile":0.24447,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6h2f-wjhf-4wjx","url":"https://osv.dev/vulnerability/GHSA-6h2f-wjhf-4wjx","summary":"Pyrofork has a Path Traversal in download_media Method","modified":"2026-07-07T17:57:30.437770775Z","packages":[{"ecosystem":"PyPI","name":"pyrofork","purl":"pkg:pypi/pyrofork","ranges":["<2.3.69"],"fixed":["2.3.69"]}]},{"id":"PYSEC-2026-1841","url":"https://osv.dev/vulnerability/PYSEC-2026-1841","summary":"Pyrofork has a Path Traversal in download_media Method","modified":"2026-07-07T17:47:50.506190015Z","packages":[{"ecosystem":"PyPI","name":"pyrofork","purl":"pkg:pypi/pyrofork","ranges":["<2.3.69"],"fixed":["2.3.69"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}