CVE-2026-120641: high-severity vulnerability in CGI
CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
CGIRelated CVEs — CGI
In the same product, most dangerous first.
CVE-2026-120637CRITICALCGI versions before 5.00 for Perl take request parameters from the process command line arguments for an unrecognised REQUEST_METHODEPSS 0.5%CVE-2026-120647CRITICALCGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filenameEPSS 0.5%CVE-2026-120635HIGHCGI versions before 5.00 for Perl allow form fields to be smuggled past proxies and WAFs via multipart parsing that differs from the RFCsEPSS 0.5%CVE-2026-120645HIGHCGI versions before 5.00 for Perl allow denial of service via submitted values used as a regex for optgroup selection in scrolling_listEPSS 0.5%CVE-2026-120631HIGHCGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parseEPSS 0.5%CVE-2026-120646HIGHCGI versions from 4.71 before 5.00 for Perl allow denial of service via a plain string dereferenced as a symbolic reference in uploadInfoEPSS 0.5%