Bug 2567296

Summary: CVE-2026-120644 perl-CGI: perl-cgi: Cookie attribute injection via unvalidated parameters [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": ["b867dc4e-9809-4ffa-94cd-9735109af7d5"]}
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: 2566604    

Description Marian Rehak 2026-11-05 13:35:17 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::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values.

The path, domain and expires values are written into the Set-Cookie header without checking for semicolons or control characters.

An application that sets them from request data can be made to add other cookie attributes, such as Domain or SameSite.

Comment 1 Fedora Update System 2026-11-06 09:52:36 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:31 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