Description
HTTP::Daemon versions before 6.17 for Perl allow OS command injection via send_file(). send_file() opens its string argument with Perl's 2-arg open(). The 2-arg form interprets magic prefixes: '| cmd' and 'cmd |' open a pipe to a subprocess, '> path' and '>> path' open the path for write or append. Untrusted input passed to send_file() can run OS commands at the daemon process UID. The read-pipe form ('cmd |') also leaks subprocess stdout into the HTTP response body. The write-mode forms can create or truncate files at attacker chosen paths.
References10
- github.com/libwww-perl/HTTP-Daemon/commit/945d35141d94490f74964…
- github.com/libwww-perl/HTTP-Daemon/pull/89
- metacpan.org/release/OALDERS/HTTP-Daemon-6.17/changes
- www.openwall.com/lists/oss-security/2026/05/27/5
- lists.debian.org/debian-lts-announce/2026/06/msg00028.html
- access.redhat.com/errata/RHSA-2026:36187
- access.redhat.com/errata/RHSA-2026:36188
- access.redhat.com/errata/RHSA-2026:36189
- access.redhat.com/security/cve/CVE-2026-8450
- bugzilla.redhat.com/show_bug.cgi?id=2481773
Metrics
- CVSS 3.1
-
9.1
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS — exploit probability
- 1% percentile: 73 · as of 14 November 2026
- CWE
- CWE-73CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.