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

Published Nov 4, 2026
·
Updated

CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect. redirect decodes HTML entities in its URL before writing the Location header, so a URL the application has already validated can change meaning. For example, //evil.example/ becomes //evil.example/ and sends the user to another host.

Affected Software

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

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

What must an attacker be able to control to exploit this issue?

The attacker needs influence over a URL passed to CGI's redirect handling after the application has validated it. They can use HTML entity encoding such as //evil.example/ so decoding changes it into a protocol-relative URL pointing to another host.

2

Are applications affected if they do not use redirects with user-controlled URLs?

The issue is in CGI redirect handling and requires a URL whose meaning can change after application validation. Applications that do not pass attacker-influenced URLs to redirect are not exposed through this behavior.

3

What can be done if an update is not immediately available?

Do not rely on validation performed before CGI decodes HTML entities. Reject or normalize HTML entity-encoded characters in redirect targets, and allow only expected local paths or an explicit allowlist of destination hosts.

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