DEBIAN-CVE-2026-120641: Debian/libcgi-pm-perl vulnerability

Published Nov 4, 2026
·
Updated

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.

Affected Software

3 affected components
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*
debian/libcgi-pm-perl*

Event History

Nov 4, 2026
CVE Published
via OSV·12:17 AM
Data Sourced
via OSV·12:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using CGI versions before 5.00 are exposed if they save uploaded files using the filename returned by CGI. The risk applies when that returned value is used as the destination name without preventing path components from affecting the save location.

2

What does an attacker need to do to exploit it?

An attacker needs to submit an uploaded file whose multipart Content-Disposition filename parameter contains a path, such as ../ or a Windows-style path. CGI returns that client-supplied value unchanged.

3

What can be done if upgrading is not immediately possible?

Do not save uploaded files under the filename returned by CGI unchanged. Ensure client-supplied upload names cannot determine a path outside the intended upload directory.

4

How can I determine whether an application is affected?

Check whether it uses a CGI version before 5.00 and whether it uses the upload filename returned by CGI when saving files. The affected behavior is returning the Content-Disposition filename parameter unchanged.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203