PT-2026-43494 · Cpan · Http::Daemon

Stig Palmquist

+1

·

Published

2026-05-27

·

Updated

2026-05-28

·

CVE-2026-8450

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions HTTP::Daemon versions prior to 6.17
Description OS command injection is possible through the send file() function. This occurs because send file() utilizes Perl's 2-arg open() function, which interprets magic prefixes. Specifically, prefixes like '| cmd' and 'cmd |' open a pipe to a subprocess, while '> path' and '>> path' open a path for writing or appending. If untrusted input is passed to send file(), OS commands can be executed with the daemon process UID. Additionally, the read-pipe form ('cmd |') can leak subprocess stdout into the HTTP response body, and write-mode forms can create or truncate files at paths chosen by an attacker.
Recommendations Update to version 6.17 or later. As a temporary workaround, restrict or avoid passing untrusted input to the send file() function.

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2026-8450

Affected Products

Http::Daemon