Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/leejo/CGI.pm/commit/5379eb18e87b7f985613f5c4f7bae94478a4fa2f.
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
FAQ
What is CVE-2026-120641?
CVE-2026-120641 is a vulnerability with a CVSS score of 8.8 (HIGH). 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'...
How severe is CVE-2026-120641?
CVE-2026-120641 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120641?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.