Skip to content
High 8.8

CGI for Perlに脆弱性、アップロードファイル名のパス検証が不十分で任意の場所に書き込まれるおそれ

CVE-2026-120641 First seen on SecPulse

Summary

CGI for Perlの5.00より前の版には、アップロードされたファイル名に含まれるパスが検証されずそのまま返される脆弱性があります。このファイル名で保存するアプリケーションでは、想定外のディレクトリにファイルを書き込まれるおそれがあります。修正版は5.00で、CGIモジュールを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.

CGI for Perlの5.00より前の版には、アップロードされたファイル名に含まれるパスが検証されずそのまま返される脆弱性があります。このファイル名で保存するアプリケーションでは、想定外のディレクトリにファイルを書き込まれるおそれがあります。修正版は5.00で、CGIモジュールを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 versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths.

The name returned for an uploaded file is the filename parameter of the part's Content-Disposition header, unchanged.

An application that saves the upload under this name can be made to write outside the intended directory.

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