CVE-2026-120641
CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
- High 8.8
Description
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.
Key facts
- Published
- 3 Nov 2026
- Last changed
- 9 Nov 2026
- Assigned by
- CPANSec
- EPSS
- 0.508% likely to be exploited in the next 30 days, higher than 43.968% of CVEs (scores for 16 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 8.8CVSS 3.1, Highfrom CISA (ADP container)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What to do
- Upgrade to CGI 5.00 or later.CNA solution statement
- For deployments that cannot upgrade, do not use the client-supplied upload filename as a path.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Timeline
- 3 Nov 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on Path traversal (CWE-22).