CVE-2026-8450
CriticalCVSS 9.1Exploitation Probability (EPSS)
Elevated risk65th percentile — higher than 65% of all known CVEs
Summary
A vulnerability in the HTTP::Daemon library for Perl before version 6.17 allows OS command injection via the send_file() function. The function opens its argument using Perl's 2-arg open(), which interprets magic prefixes like '| cmd' as a pipe to a subprocess, enabling arbitrary command execution.
Risk Assessment
An attacker can execute OS commands with the daemon process privileges, potentially leading to server compromise, data leakage, or file modification. The read-pipe form ('cmd |') also leaks subprocess stdout into HTTP responses, exposing sensitive information.
Recommendation
Immediately update HTTP::Daemon to version 6.17 or later. If updating is not possible, avoid passing untrusted input to send_file() and implement input validation.
Original NVD description (English source)
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.

