# CVE-2025-64184: Dosage vulnerable to Directory Traversal through crafted HTTP responses

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-11-04T15:31:48.000Z
- Modified: 2026-07-07T17:57:22.746Z
- Also known as: GHSA-4vcx-3pj3-44m7, PYSEC-2026-1316
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Dosage is a comic strip downloader and archiver. When downloading comic images in versions 3.1 and below, Dosage constructs target file names from different aspects of the remote comic (page URL, image URL, page content, etc.). While the basename is properly stripped of directory-traversing characters, the file extension is taken from the HTTP Content-Type header. This allows a remote attacker (or a Man-in-the-Middle, if the comic is served over HTTP) to write arbitrary files outside the target directory (if additional conditions are met). This issue is fixed in version 3.2.

(As written by CVE List.)

## Affected

- webcomics dosage: < 3.2
- dosage (PyPI): before 3.2

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/webcomics/dosage/security/advisories/GHSA-4vcx-3pj3-44m7> (web)
- <https://github.com/webcomics/dosage/commit/336a9684191604bc49eed7296b74bd582151181e> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64184> (advisory)
- <https://github.com/webcomics/dosage> (package)
- <https://pypi.org/project/dosage> (package)
- <https://github.com/advisories/GHSA-4vcx-3pj3-44m7> (advisory)

## Sources

- CVE List: [CVE-2025-64184](https://www.cve.org/CVERecord?id=CVE-2025-64184), CVE Terms of Use, modified 2025-11-07
- GitHub Advisory Database: [GHSA-4vcx-3pj3-44m7](https://github.com/advisories/GHSA-4vcx-3pj3-44m7), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-64184](https://nvd.nist.gov/vuln/detail/CVE-2025-64184), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1316](https://osv.dev/vulnerability/PYSEC-2026-1316), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-64184 · Whole record: https://cve.day/CVE-2025-64184.json · Rebuilt by cve.day 2026-11-25T22:59:07.327Z
