UBUNTU-CVE-2026-120641
Dashboard / Vulnerabilities / UBUNTU-CVE-2026-120641
Summary:
Details: 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://ubuntu.com/security/CVE-2026-120641, https://www.cve.org/CVERecord?id=CVE-2026-120641, https://lists.security.metacpan.org/cve-announce/msg/44874911/, https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f, https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.patch, https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm, https://metacpan.org/release/LEEJO/CGI-5.00/changes
Affected packages
Package
Name: libcgi-pm-perl
Purl: pkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=xenial
Affected ranges
Type: ECOSYSTEM
Events:
