CVE-2026-120644 CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values.

Critical 9.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120644?

CVE-2026-120644 is a critical vulnerability in CGI, published on 3 Nov 2026.

Official description

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.

Weakness: CWE-116

Which versions are affected by CVE-2026-120644?

1 open source package ship an affected version, including CGI.

PackageAffectedFixed in
CGI cpan
pkg:cpan/CGI
All versions5.00
Status by vendor (4)
WhoReleaseStatusPackages
Red Hat8deferredperl-CGI
Red Hat9deferredperl-CGI
Red Hat10deferredperl-CGI
Red Hatels/7deferredperl-CGI

How do I fix CVE-2026-120644?

Upgrade CGI to 5.00 or later.

Is CVE-2026-120644 being exploited?

There is no known exploitation of CVE-2026-120644 in the wild and no public exploit code.

Sources

Also known as AZL-112774, DEBIAN-CVE-2026-120644, DHI-gowm-ugow-nptt-zrwm, GHSA-mcq5-fxjx-6f4r, UBUNTU-CVE-2026-120644.

Is CVE-2026-120644 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free