CVE-2026-120641: CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including
Source GCVE Database
Not known to be exploited : upgrade to 5.00 soon.
Data as of 4 Nov 2026, 01:59 UTC
Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 5.00
Exploitation 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 3 Nov 2026.
What to do
Upgrade CGI (Perl module) to 5.00.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CGI | Affected
| Fixed in
|
CPANCGIpkg:cpan/CGIOther 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
Users should implement input validation or sanitization to remove path components from uploaded filenames before saving files. If you cannot patch yet, applications must not trust the filename parameter from the Content-Disposition header and should enforce safe file storage paths.
Description
CGI versions for Perl prior to 5.00 return uploaded filenames including any client-supplied path segments, such as ../ or Windows-style paths. This means the filename is taken directly from the Content-Disposition header without sanitization. Applications that save uploaded files using this name risk writing files outside the intended directory.