Vulnerability · Published Nov 3, 2026 · Assigned by CPANSec

CVE-2026-120641CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths

Unrated

In plain English

A path traversal in CGI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).

Severity (CVSS )–Not rated
Exploit odds (30 days)0.2%top 90.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libcgi-pm-perlno fix listedDEBIAN-CVE-2026-120641
Debian:13libcgi-pm-perlno fix listedDEBIAN-CVE-2026-120641
Debian:14libcgi-pm-perlno fix listedDEBIAN-CVE-2026-120641
Ubuntu:22.04:LTSlibcgi-pm-perlno fix listedUBUNTU-CVE-2026-120641
Ubuntu:24.04:LTSlibcgi-pm-perlno fix listedUBUNTU-CVE-2026-120641
Ubuntu:26.04:LTSlibcgi-pm-perlno fix listedUBUNTU-CVE-2026-120641
Ubuntu:26.10libcgi-pm-perlno fix listedUBUNTU-CVE-2026-120641

Affected products (as reported)

VendorProductVersions
CGI 0 – before 5.00

Weakness: CWE-22

References