CVE-2026-120644
CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values
- Severity
- critical CVSS 9.1 (v3.1)
- Weakness
- CWE-116 Improper Encoding or Escaping of Output
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- perlPackages.CGI: security issues < 5.00 (#583064)
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)