CVE-2026-120644
Cookie attribute injection in CGI::Cookie for Perl
Critical 9.1 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- 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.
What to do
Patch available · fixed versions: 5.00
Update CGI::Cookie to version 5.00 or later to properly validate cookie attributes.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- perl-CGI-5.20.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12465-1 · Nov 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.