CVE-2026-120641

critical

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.

References

https://metacpan.org/release/LEEJO/CGI-5.00/changes

https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm

https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.patch

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116608

Details

Source: Mitre, NVD

Published: 2026-11-04

Updated: 2026-11-04

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00196