CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-120641 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120641?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120641?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120641 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | libcgi-pm-perl | no fix listed | DEBIAN-CVE-2026-120641 |
| Debian | 14 | libcgi-pm-perl | 5.02-1 | DEBIAN-CVE-2026-120641 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120641 |
| Red Hat | enterprise_linux:8::appstream | perl-CGI | 0:4.38-3.el8_10 | RHSA-2026:99849 |
| Red Hat | enterprise_linux:9::appstream | perl-CGI | 0:4.51-5.el9_9.1 | RHSA-2026:99215 |
| Red Hat | enterprise_linux:10.3 | perl-CGI | 0:4.61-5.el10_3.1 | RHSA-2026:99212 |
| Red Hat | enterprise_linux_eus:10.2 | perl-CGI | 0:4.61-5.el10_2.1 | RHSA-2026:99214 |
| Red Hat | rhel_eus:9.8::appstream | perl-CGI | 0:4.51-5.el9_8.1 | RHSA-2026:99213 |
| openSUSE | Tumbleweed | perl-CGI | 5.20.0-1.1 | openSUSE-SU-2026:12465-1 |
| AlmaLinux | 8 | perl-CGI | 4.38-3.el8_10 | ALSA-2026:99849 |
| AlmaLinux | 9 | perl-CGI | 4.51-5.el9_9.1 | ALSA-2026:99215 |
| AlmaLinux | 10 | perl-CGI | 4.61-5.el10_3.1 | ALSA-2026:99212 |
| Rocky Linux | 8 | perl-CGI | 0:4.38-3.el8_10 | RLSA-2026:99849 |
| Rocky Linux | 9 | perl-CGI | 0:4.51-5.el9_9.1 | RLSA-2026:99215 |
| Rocky Linux | 10 | perl-CGI | 0:4.61-5.el10_3.1 | RLSA-2026:99212 |
| Azure Linux | 3 | perl-CGI | no fix listed | AZL-112777 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Important.
This vulnerability is rated as Important severity because unauthenticated remote attackers can overwrite arbitrary files with the privileges of the web server process when applications accept file uploads. In Red Hat Enterprise Linux environments, perl-CGI functions as a library rather than an exposed standalone service, meaning exposure is limited to scripts configured to handle multipart form data. Successful attacks require downstream code to directly persist files using the untrusted client-provided filename without independent sanitization or unique name generation.
--- CME Mitigation Guidance (2026-11-04) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to sanitize client-supplied upload filenames or canonicalize destination paths before saving files in applications using CGI.pm: upgrade to CGI 5.00+ (or the fixed Perl Cgi builds), which strip control characters and directory segments separated by forward slashes and backslashes from upload filenames, defaulting to 'upload' if no usable name remains, closing all 3 injection vectors (multipart Content-Disposition filenames with relative directory traversal sequences, multipart Content-Disposition filenames with absolute path segments, multipart Content-Disposition filenames with Windows path separators). Until patched, this is a concern on Applications on any platform using CGI.pm to handle multipart/form-data file uploads that save files under the returned filename, so Implement independent path sanitization or canonicalization in application code to ensure destination paths remain strictly confined to designated upload directories before saving files. As a compensating measure, Inspect HTTP multipart/form-data payloads with a web application firewall to detect and block traversal sequences inside the Content-Disposition filename parameter, Log kernel-level filesystem write events using auditd to provide forensic visibility when files are created outside the intended upload directory, Monitor file-system write operations with Falco or eBPF runtime security to alert on unexpected file creation outside standard upload directories by the web process, and Deploy file integrity monitoring such as AIDE to detect unauthorized creation or modification of critical system files resulting from traversal writes. These controls limit blast radius and contain exploitation, but they do not fix the underlying path traversal vulnerability — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1301 Path Traversal Prevention (Canonicalization) (high)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | perl-CGI-0:4.61-5.el10_3.1 | Fixed 2026-11-11 | RHSA-2026:99212 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | perl-CGI-0:4.61-5.el10_2.1 | Fixed 2026-11-11 | RHSA-2026:99214 |
| Red Hat Enterprise Linux 8 | perl-CGI-0:4.38-3.el8_10 | Fixed 2026-11-12 | RHSA-2026:99849 |
| Red Hat Enterprise Linux 9 | perl-CGI-0:4.51-5.el9_9.1 | Fixed 2026-11-12 | RHSA-2026:99215 |
| Red Hat Enterprise Linux 9.8 Extended Update Support | perl-CGI-0:4.51-5.el9_8.1 | Fixed 2026-11-12 | RHSA-2026:99213 |
| Red Hat Enterprise Linux 7 | perl-CGI | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-120641.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
Changes since this site first stored the record. The same for every record: /api/public/changes.