CVE-2026-120641
published high CVSS 3.1 · 8.8CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | CGI0 to < 5.00 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4140 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3436 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | perl-CGI | Advisory build | 4.61-5.el10_3.1 | ALSA-2026:99212 |
| Alpine Linux | edge | perl-cgi | Fixed | 5.02-r0 | Package fix record |
| Oracle Linux | 10 | perl-CGIaarch64 | Advisory build | 0:4.61-5.el10_3.1 | ELSA-2026-99212 |
| Red Hat Enterprise Linux | RHEL-10 | perl-CGInoarch | Advisory build | 4.61-5.el10_2.1 | RHSA-2026:99214 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIaarch64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2-2026-4140 |
| Rocky Linux | 10 | perl-CGInoarch | Listed in advisory | Not stated | RLSA-2026:99212 |
| AlmaLinux | 8 | perl-CGI | Advisory build | 4.38-3.el8_10 | ALSA-2026:99849 |
| AlmaLinux | 9 | perl-CGI | Advisory build | 4.51-5.el9_9.1 | ALSA-2026:99215 |
| Oracle Linux | 10 | perl-CGIx86_64 | Advisory build | 0:4.61-5.el10_3.1 | ELSA-2026-99212 |
| Oracle Linux | 8 | perl-CGIaarch64 | Advisory build | 0:4.38-3.el8_10 | ELSA-2026-99849 |
| Oracle Linux | 8 | perl-CGIx86_64 | Advisory build | 0:4.38-3.el8_10 | ELSA-2026-99849 |
| Oracle Linux | 9 | perl-CGIaarch64 | Advisory build | 0:4.51-5.el9_9.1 | ELSA-2026-99215 |
| Oracle Linux | 9 | perl-CGIx86_64 | Advisory build | 0:4.51-5.el9_9.1 | ELSA-2026-99215 |
| Red Hat Enterprise Linux | RHEL-10 | perl-CGInoarch | Advisory build | 4.61-5.el10_3.1 | RHSA-2026:99212 |
| Red Hat Enterprise Linux | RHEL-10 | perl-CGIsrc | Advisory build | 4.61-5.el10_2.1 | RHSA-2026:99214 |
| Red Hat Enterprise Linux | RHEL-10 | perl-CGIsrc | Advisory build | 4.61-5.el10_3.1 | RHSA-2026:99212 |
| Red Hat Enterprise Linux | RHEL-8 | perl-CGInoarch | Advisory build | 4.38-3.el8_10 | RHSA-2026:99849 |
| Red Hat Enterprise Linux | RHEL-8 | perl-CGIsrc | Advisory build | 4.38-3.el8_10 | RHSA-2026:99849 |
| Red Hat Enterprise Linux | RHEL-9 | perl-CGInoarch | Advisory build | 4.51-5.el9_8.1 | RHSA-2026:99213 |
| Red Hat Enterprise Linux | RHEL-9 | perl-CGInoarch | Advisory build | 4.51-5.el9_9.1 | RHSA-2026:99215 |
| Red Hat Enterprise Linux | RHEL-9 | perl-CGIsrc | Advisory build | 4.51-5.el9_8.1 | RHSA-2026:99213 |
| Red Hat Enterprise Linux | RHEL-9 | perl-CGIsrc | Advisory build | 4.51-5.el9_9.1 | RHSA-2026:99215 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIppc64le | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIs390x | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGIx86_64 | Advisory build | 5.20.0-1.1 | OPENSUSE-SU-2026:12465-1 |
| Amazon Linux | AL2 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2-2026-4140 |
| Amazon Linux | AL2023 | perl-CGInoarch | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| Amazon Linux | AL2023 | perl-CGIsrc | Listed in advisory | Not stated | ALAS2023-2026-3436 |
| Rocky Linux | 10 | perl-CGIsrc | Listed in advisory | Not stated | RLSA-2026:99212 |
| Rocky Linux | 8 | perl-CGInoarch | Listed in advisory | Not stated | RLSA-2026:99849 |
| Rocky Linux | 8 | perl-CGIsrc | Listed in advisory | Not stated | RLSA-2026:99849 |
| Rocky Linux | 9 | perl-CGInoarch | Listed in advisory | Not stated | RLSA-2026:99215 |
| Rocky Linux | 9 | perl-CGIsrc | Listed in advisory | Not stated | RLSA-2026:99215 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CGI | 0 to < 5.00 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2CPANSec · cna
CGI versions before 5.00 for Perl return upload filenames with any client-supplied path, including ../ and Windows paths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a45d0ef64d40c429a7a5d8a352cbf5597c621ef04a0faa35d7c8e1703d637361
- Ingested
- 09 Nov 2026, 19:20:09 UTC
- Source record
- Official CVE record