DEBIAN-CVE-2026-120633: Debian/libcgi-pm-perl vulnerability

Published Nov 4, 2026
·
Updated

CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, selfurl, virtualhost and virtualport. 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 selfurl are the default redirect location and the starthtml(-base=>1) base href, and the default startform action when REQUESTURI 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 Software

3 affected components
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Perl CGI to a version that resolves this vulnerability.

    Fixed in 5.00

Event History

Nov 4, 2026
CVE Published
via OSV·12:17 AM
Data Sourced
via OSV·12:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using affected CGI versions are exposed when they generate URLs through url, self_url, virtual_host, or virtual_port. The impact applies where attacker-controlled Host or X-Forwarded-Host headers can reach the application and generated URLs are redirected, cached, stored, or sent to users.

2

What does an attacker need to do to exploit it?

An attacker needs to send a request with a malicious X-Forwarded-Host header, or Host header when X-Forwarded-Host is absent. The application must use one of the affected CGI URL helpers in a security-relevant output path such as a redirect, link, script URL, form action, or base href.

3

Are default-generated application URLs affected?

Yes. url and self_url provide the default redirect location, start_html(-base=>1) uses the generated URL as its base href, and start_form can use it as its default action when REQUEST_URI is not set.

4

What can be done before patching is available?

Ensure the application or its front-end proxy rejects or overwrites untrusted X-Forwarded-Host and Host headers before requests reach CGI. Configure the trusted proxy layer to supply a validated canonical host rather than allowing client-provided forwarding headers through.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203