CVE-2025-64184CWE-22

Dosage vulnerable to Directory Traversal through crafted HTTP responses

High · published November 7, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
40.9
In the wild
Unconfirmed
What it is

⚡ A crafty flaw lets a remote attacker write arbitrary files outside of the intended directory! Think of it like a comic shop worker who mislabels incoming comic books, accidentally placing them in the wrong section of the store. If the worker doesn’t check the labels (the HTTP Content-Type), they might file a horror comic in the romance section — and the consequences could be messy! An attacker could exploit this vulnerability to place malicious files on the server, potentially leading to data loss or system compromise. Imagine the chaos if a comic archive turns into a launchpad for malicious scripts, all because the file names weren’t properly checked!

Put simply

Think of it like a comic shop worker who mislabels incoming comic books, accidentally placing them in the wrong section of the store. If the worker doesn’t check the labels (the HTTP Content-Type), they might file a horror comic in the romance section — and the consequences could be messy! In Dosage versions 3.1 and below, the system improperly uses the HTTP Content-Type header for file extensions when downloading comics. While directory traversal characters are stripped, this oversight allows attackers to craft requests that can save files outside the target directory if certain conditions are met.

What to do

An attacker could exploit this vulnerability to place malicious files on the server, potentially leading to data loss or system compromise. Imagine the chaos if a comic archive turns into a launchpad for malicious scripts, all because the file names weren’t properly checked! Upgrade Dosage to version 3.2 immediately to patch this vulnerability. Review your file handling procedures to ensure that file extensions are validated against a secure list, not just the headers. Implementing HTTPS can also help mitigate man-in-the-middle attacks! You've got this! Follow these steps to secure your comic collecting setup and keep the bad guys at bay! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00486 · 40.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-11-07T03:02Z
EPSS history
Timeline
  • 07 NOV 03:02Z
    Dosage vulnerable to Directory Traversal through crafted HTTP responses
    cvelistv5