Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/leejo/CGI.pm/commit/0b3527faaa9de55f79ca7d59dd3bcfb2c5540e00.
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Cookie.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
FAQ
What is CVE-2026-120644?
CVE-2026-120644 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 ...
How severe is CVE-2026-120644?
CVE-2026-120644 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-120644?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.