CVE-2026-120641
JSON

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 packageVersionsReported by
CGIbefore 5.00CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120641 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-120641 changed 2026-11-09Public domain