CVE-2026-120641
CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
- Severity
- high CVSS 8.8 (v3.1)
- Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- perlPackages.CGI: security issues < 5.00 (#583064)
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)