CVE-2026-120641: Libcgi pm perl · CGI versions before 5.00 for Perl return upload filenames with any client-supplied
Affects libcgi-pm-perlSource GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 12 Nov 2026, 21:02 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 8.8 |
|---|
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, applications should sanitize and validate uploaded filenames to remove path components before saving files.
Description
CGI versions before 5.00 for Perl return upload filenames including any client-supplied path components such as ../ and Windows paths. This means that the filename parameter from the Content-Disposition header is returned unchanged. Applications that save uploaded files using this filename can be tricked into writing files outside the intended directory, leading to potential arbitrary file write vulnerabilities.
References
- ubuntu.com/security/CVE-2026-120641 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-120641 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/44874911/ (opens in a new tab)
- github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f (opens in a new tab)
- github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.patch (opens in a new tab)
- metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm (opens in a new tab)
- metacpan.org/release/LEEJO/CGI-5.00/changes (opens in a new tab)