HTTP::Daemon versions before 6.17 for Perl allow OS command injection via send_file()
Published May 27, 2026
9.1
CRITICALCVSS 3.1
EPSS 2.61%
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
-
- Version 0StatusaffectedConstraints<6.17
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Oalders | n/a | unaffected |
|
No data.
No data.
Red Hat Enterprise Linux 10
perl-HTTP-Daemon-0:6.16-7.el10_2.1
Fixed · RHSA-2026:36189
Red Hat Enterprise Linux 8
perl-HTTP-Daemon-0:6.01-24.el8_10
Fixed · RHSA-2026:36188
Red Hat Enterprise Linux 9
perl-HTTP-Daemon-0:6.12-6.el9_8.1
Fixed · RHSA-2026:36187
Red Hat Enterprise Linux 7
perl-HTTP-Daemon
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | perl-HTTP-Daemon-0:6.16-7.el10_2.1 | Fixed | RHSA-2026:36189 |
| Red Hat Enterprise Linux 8 | perl-HTTP-Daemon-0:6.01-24.el8_10 | Fixed | RHSA-2026:36188 |
| Red Hat Enterprise Linux 9 | perl-HTTP-Daemon-0:6.12-6.el9_8.1 | Fixed | RHSA-2026:36187 |
| Red Hat Enterprise Linux 7 | perl-HTTP-Daemon | Affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
Upgrade to HTTP-Daemon 6.17 or later.
Red Hat statement
This is rated as an Important security flaw becaye the function utilizes an insecure 2-argument open() call that interprets shell-magic characters (such as pipes or redirects) inside file paths. In a non-default configuration where a custom application passes untrusted user input directly to this function, a remote attacker could exploit this flaw to read or write arbitrary files, or potentially execute commands within the context of the daemon's local system user.
References (14)
- http://www.openwall.com/lists/oss-security/2026/05/27/5
- https://access.redhat.com/errata/RHSA-2026:36187
- https://access.redhat.com/errata/RHSA-2026:36188
- https://access.redhat.com/errata/RHSA-2026:36189
- https://access.redhat.com/security/cve/CVE-2026-8450 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2481773 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-32050 Advisory
- https://github.com/libwww-perl/HTTP-Daemon/commit/945d35141d94490f749640bd4390acd6a2193995.patch patch
- https://github.com/libwww-perl/HTTP-Daemon/pull/89 issue-tracking
- https://lists.debian.org/debian-lts-announce/2026/06/msg00028.html
- https://metacpan.org/release/OALDERS/HTTP-Daemon-6.17/changes release-notes
- https://nvd.nist.gov/vuln/detail/CVE-2026-8450
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8450.json
- https://www.cve.org/CVERecord?id=CVE-2026-8450
Change history (0)
No recorded changes yet.