CVE-2026-120644
9.1 Critical
AI summary
Perl CGI::Cookie before 5.00 writes path, domain and expires into Set-Cookie without validation, so when set from request data a remote attacker can inject extra cookie attributes such as Domain or SameSite. Critical (CVSS 9.1); upgrade to 5.00.
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.
- Published
- 2026-11-04 00:17 UTC
- Modified
- 2026-11-09 20:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.51% (percentile 36)
- ENISA EUVD
- EUVD-2026-116611
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-116
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/leejo/CGI.pm/commit/0b3527faaa9de55f79ca7d59dd3bcfb2c5540e00.patch - metacpan.org
https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Cookie.pm - metacpan.org
https://metacpan.org/release/LEEJO/CGI-5.00/changes