Skip to content

CVE-2026-8450 HTTP::Daemon versions before 6.17 for Perl allow OS command injection via send_file()

HighCVSS 8.1 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
OALDERS HTTP::Daemon < 6.17 6.17
redhat enterprise linux < 0:6.16-7.el10_2.1 0:6.16-7.el10_2.1
redhat enterprise linux < 0:6.01-24.el8_10 0:6.01-24.el8_10
redhat enterprise linux < 0:6.12-6.el9_8.1 0:6.12-6.el9_8.1
redhat enterprise linux All versions No fix listed
redhat/perl-HTTP-Daemon(Red Hat:enterprise_linux:10.2) < 6.16-7.el10_2.1 6.16-7.el10_2.1
redhat/perl-HTTP-Daemon(Red Hat:enterprise_linux_eus:10.0) < 6.16-7.el10_0.1 6.16-7.el10_0.1
redhat/perl-HTTP-Daemon(Red Hat:enterprise_linux:8::crb) < 6.01-24.el8_10 6.01-24.el8_10
redhat/perl-HTTP-Daemon(Red Hat:enterprise_linux:9::crb) < 6.12-6.el9_8.1 6.12-6.el9_8.1
redhat/perl-HTTP-Daemon(Red Hat:rhel_eus:9.6::crb) < 6.12-6.el9_6.1 6.12-6.el9_6.1
redhat/perl-HTTP-Daemon(Red Hat:rhel_els:7) All versions No fix listed
debian/libhttp-daemon-perl(Debian:12) < 6.16-1+deb13u1~deb12u1 6.16-1+deb13u1~deb12u1
debian/libhttp-daemon-perl(Debian:12) = 6.16-1 No fix listed
debian/libhttp-daemon-perl(Debian:13) < 6.16-1+deb13u1 6.16-1+deb13u1
debian/libhttp-daemon-perl(Debian:13) = 6.16-1 No fix listed
debian/libhttp-daemon-perl(Debian:13) = 6.16-1+deb13u1~deb12u1 No fix listed
debian/libhttp-daemon-perl(Debian:14) < 6.17-1 6.17-1
debian/libhttp-daemon-perl(Debian:14) = 6.16-1 No fix listed
ubuntu/libhttp-daemon-perl(Ubuntu:22.04) < 6.13-1ubuntu0.2 6.13-1ubuntu0.2
ubuntu/libhttp-daemon-perl(Ubuntu:24.04) < 6.16-1ubuntu0.24.04.1 6.16-1ubuntu0.24.04.1
ubuntu/libhttp-daemon-perl(Ubuntu:26.04) < 6.16-1ubuntu0.26.04.1 6.16-1ubuntu0.26.04.1
azure linux perl-HTTP-Daemon(Azure Linux:3.0) < 6.16-2 6.16-2

References