Bug 2567292

Summary: CVE-2026-120638 perl-CGI: perl-cgi: Open redirect via HTML entity decoding in redirect function [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: perl-CGIAssignee: Jitka Plesnikova <jplesnik>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jplesnik, mspacek, perl-devel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["4d377e2c-0a31-4e07-bb65-028f11741e51"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2566609    

Description Marian Rehak 2026-11-05 13:25:14 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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, /&#47;evil.example/ becomes //evil.example/ and sends the user to another host.

Comment 1 Fedora Update System 2026-11-06 09:52:23 UTC
FEDORA-2026-a04615c725 (perl-CGI-5.02-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a04615c725

Comment 2 Fedora Update System 2026-11-06 09:53:21 UTC
FEDORA-2026-516e427bac (perl-CGI-5.02-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-516e427bac