{"id":"CVE-2026-120641","published":"2026-11-03T23:40:36Z","modified":"2026-11-09T19:16:44Z","title":"CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths","vendor":null,"product":null,"tier":"tail","description":{"text":"CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths.\n\nThe name returned for an uploaded file is the filename parameter of the part's Content-Disposition header, unchanged.\n\nAn application that saves the upload under this name can be made to write outside the intended directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00581,"percentile":0.48658,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm","tags":["technical-description"]},{"url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes","tags":["release-notes"]},{"url":"https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.patch","tags":["patch"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":9.73},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 5.00"]}],"solutions":{"items":["Upgrade to CGI 5.00 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade, do not use the client-supplied upload filename as a path."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-09T19:16:13.018315Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-116608","exploited":false,"provenance":"source"}}