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.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-116"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120644.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "5.00"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "5.00"
}
],
"source": "DESCRIPTION"
}
]
}
]
}