Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyrofork
  4. ›
  5. CVE-2025-67720

CVE-2025-67720: Pyrofork has a Path Traversal in download_media Method

December 10, 2025 (updated December 11, 2025)

The download_media method in Pyrofork does not sanitize filenames received from Telegram messages before using them in file path construction. This allows a remote attacker to write files to arbitrary locations on the filesystem by sending a specially crafted document with path traversal sequences (e.g., ../) or absolute paths in the filename.


References

  • github.com/Mayuri-Chan/pyrofork
  • github.com/Mayuri-Chan/pyrofork/commit/2f2d515575cc9c360bd74340a61a1d2b1e1f1f95
  • github.com/Mayuri-Chan/pyrofork/security/advisories/GHSA-6h2f-wjhf-4wjx
  • github.com/advisories/GHSA-6h2f-wjhf-4wjx
  • nvd.nist.gov/vuln/detail/CVE-2025-67720

Code Behaviors & Features

Detect and mitigate CVE-2025-67720 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.3.69

Fixed versions

  • 2.3.69

Solution

Upgrade to version 2.3.69 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/pyrofork/CVE-2025-67720.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.