All reports
High

Dosage vulnerable to a Directory Traversal through crafted HTTP responses

Affected versions

Version ranges need review.

Affected versions
< 3.2
Fixed version
3.2
Affected versions
<3.2
Fixed version
3.2

Exploitation

CVE-2025-64184

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-21

Description

Impact

When downloadinging comic images, 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).

Patches

Fixed in release 3.2. The fix is small and self-contained, so distributors might elect to backport the fix to older versions.

Workarounds

No

Links

Credits

  • TobiX