Amazon Linux 2 Security Advisory: ALAS2-2026-3341
Advisory Released Date: 2026-06-08
Advisory Updated Date: 2026-06-08
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. (CVE-2026-8450)
Affected Packages:
perl-HTTP-Daemon
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update perl-HTTP-Daemon or yum update --advisory ALAS2-2026-3341 to update your system.
noarch:
perl-HTTP-Daemon-6.01-8.amzn2.0.2.noarch
src:
perl-HTTP-Daemon-6.01-8.amzn2.0.2.src