---
title: "CVE-2026-120641"
canonical_url: "https://pkgseek.com/security/CVE-2026-120641"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-120641

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.

CVE-2026-120641 is rated HIGH (8.8), with 17 indexed affected package builds across 6 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 17
- **Affected distros**: 6
- **Distros with fixed_in**: AlmaLinux, Fedora, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| AlmaLinux | 10 | perl-CGI | 4.61-5.el10 | 4.61-5.el10_3.1 |
| AlmaLinux | 9 | perl-CGI | 4.51-5.el9 | 4.51-5.el9_9.1 |
| Debian | trixie | libcgi-pm-perl | 4.68-1 | — |
| Fedora | 43 | perl-CGI | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 43 | perl-CGI-tests | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 44 | perl-CGI | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 44 | perl-CGI-tests | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 45 | perl-CGI | 4.72-2.fc45 | 5.02-1.fc45 |
| Fedora | 45 | perl-CGI-tests | 4.72-2.fc45 | 5.02-1.fc45 |
| Oracle Linux | 10 | perl-CGI | 4.61-5.el10 | 4.61-5.el10_3.1 |
| Oracle Linux | 8 | perl-CGI | 4.38-2.el8 | 4.38-3.el8_10 |
| Oracle Linux | 9 | perl-CGI | 4.51-5.el9 | 4.51-5.el9_9.1 |
| Rocky Linux | 10 | perl-CGI | 4.61-5.el10 | 0:4.61-5.el10_3.1 |
| Rocky Linux | 9 | perl-CGI | 4.51-5.el9 | 0:4.51-5.el9_9.1 |
| Ubuntu | focal | libcgi-pm-perl | 4.46-1 | — |
| Ubuntu | jammy | libcgi-pm-perl | 4.54-1 | — |
| Ubuntu | noble | libcgi-pm-perl | 4.63-1 | — |
