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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to CGI 5.00 or later.


Workaround

No workaround given by the vendor.

History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 09 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Wed, 04 Nov 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-140
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

threat_severity

Moderate


Wed, 04 Nov 2026 00:00:00 +0000

Type Values Removed Values Added
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.
Title CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values
Weaknesses CWE-116
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-09T19:33:06.251Z

Reserved: 2026-11-02T17:42:50.237Z

Link: CVE-2026-120644

cve-icon Vulnrichment

Updated: 2026-11-09T19:32:58.778Z

cve-icon NVD

Status : Deferred

Published: 2026-11-04T00:17:25.897

Modified: 2026-11-09T20:18:06.510

Link: CVE-2026-120644

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-03T23:40:51Z

Links: CVE-2026-120644 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T23:15:03Z

Weaknesses