Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-120633 EUVD-2026-116600GHSA-r9xh-qv72-jvjf

CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and virtual_port

Published Nov 3, 2026 · Updated Nov 9, 2026 · Assigned by CPANSec

Description

CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and virtual_port.

These take the host name and port from the X-Forwarded-Host request header when present, and otherwise from Host, without validating either. The URLs from url and self_url are the default redirect location and the start_html(-base=>1) base href, and the default start_form action when REQUEST_URI is not set.

A client can poison shared caches, and URLs the application stores or sends, with redirects, links and scripts that point at a host it controls.

Affected products

VendorProductAffectedFixed
— CGI < 5.00 5.00

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcgi-pm-perl No fix yet —
Debian 13 libcgi-pm-perl No fix yet —
Debian 12 libcgi-pm-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcgi-pm-perl No fix yet —
Ubuntu 26.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 24.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 22.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 20.04 LTS libcgi-pm-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcgi-pm-perl No fix yet —
Ubuntu 16.04 LTS libcgi-pm-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-CGI 5.20.0-1.1 openSUSE-SU-2026:12465-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-CGI +1 5.02-1.amzn2023.0.1 ALAS2023-2026-3436

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-CGI No fix yet —

Advisories 2

References