{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-67720","id":"CVE-2025-67720","title":"Pyrofork has a Path Traversal in download_media Method","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 m","descriptionLong":"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.","published":"2025-12-11T01:25:46.459Z","updated":"2026-10-28T02:30:24.532568085Z","reserved":"2025-12-10T18:46:14.762Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mayuri-Chan pyrofork"],"affectedProducts":[{"vendor":"Mayuri-Chan","product":"pyrofork","defaultStatus":null,"versions":[{"version":"< 2.3.69","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pyrofork","purl":"pkg:pypi/pyrofork","ranges":["<2.3.69"],"fixed":["2.3.69"],"advisory":"GHSA-6h2f-wjhf-4wjx"}],"cwes":["CWE-22"],"aliases":["GHSA-6h2f-wjhf-4wjx","PYSEC-2026-1841"],"references":[{"url":"https://github.com/Mayuri-Chan/pyrofork/security/advisories/GHSA-6h2f-wjhf-4wjx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/Mayuri-Chan/pyrofork/commit/2f2d515575cc9c360bd74340a61a1d2b1e1f1f95","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67720.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67720","tags":["advisory"]},{"url":"https://github.com/Mayuri-Chan/pyrofork","tags":["package"]},{"url":"https://pypi.org/project/pyrofork","tags":["package"]},{"url":"https://github.com/advisories/GHSA-6h2f-wjhf-4wjx","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0034,"epssPercentile":0.27973,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-67720","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67720","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-67720","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6h2f-wjhf-4wjx","ok":true,"note":"GHSA-6h2f-wjhf-4wjx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-67720","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}