Live threats

All CVEs

CVE-2026-120644

Cookie attribute injection in CGI::Cookie for Perl

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Nov 4, 2026
Updated
Nov 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection through unvalidated path, domain, and expires values. An attacker can manipulate these parameters from request data to inject additional cookie attributes such as Domain or SameSite, compromising cookie confidentiality and integrity.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.00

Update CGI::Cookie to version 5.00 or later to properly validate cookie attributes.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.