CVE-2026-120641
8.8high
CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CPANSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| CGI | before 5.00 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120641 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-120641 changed 2026-11-09 | Public domain |