Bug 2566598 (CVE-2026-120641) - CVE-2026-120641 perl-cgi: perl-cgi: arbitrary file write via unsanitized upload filenames
Summary: CVE-2026-120641 perl-cgi: perl-cgi: arbitrary file write via unsanitized uplo...
Keywords:
Status: NEW
Alias: CVE-2026-120641
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-03 23:51 UTC by OSIDB Bzimport
Modified: 2026-11-04 00:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-03 23:51:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.