Skip to content
Critical 9.1

Perl CGI::Cookieに脆弱性、Cookie属性を外部から注入されるおそれ

CVE-2026-120644 First seen on SecPulse

Summary

Perl向けCGIモジュールのCGI::Cookieに、path・domain・expiresの値を検証せずにSet-Cookieヘッダーへ書き込む脆弱性が見つかりました。リクエストの値をそのまま使うアプリケーションでは、DomainやSameSiteなど別のCookie属性を追加されるおそれがあり、CVSSは9.1です。影響するのは5.00より前のバージョンで、修正版は5.00です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Perl向けCGIモジュールのCGI::Cookieに、path・domain・expiresの値を検証せずにSet-Cookieヘッダーへ書き込む脆弱性が見つかりました。リクエストの値をそのまま使うアプリケーションでは、DomainやSameSiteなど別のCookie属性を追加されるおそれがあり、CVSSは9.1です。影響するのは5.00より前のバージョンで、修正版は5.00です。

Affected packages

PackageAffected → Fixed
CPANCGI
< 5.00→ 5.00

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details