Vulnerability · Published Nov 3, 2026 · Assigned by CPANSec
CVE-2026-120642CGI versions before 5.00 for Perl return request-derived values untainted under taint mode
Unrated
In plain English
A security flaw in CGI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Severity (CVSS )–Not rated
Exploit odds (30 days)0.2%top 91.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
CGI versions before 5.00 for Perl return request-derived values untainted under taint mode. The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param and cookie are returned without the taint flag, as is a cookie named expires from 4.67 on. These values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libcgi-pm-perl | no fix listed | DEBIAN-CVE-2026-120642 |
| Debian:13 | libcgi-pm-perl | no fix listed | DEBIAN-CVE-2026-120642 |
| Debian:14 | libcgi-pm-perl | no fix listed | DEBIAN-CVE-2026-120642 |
| Ubuntu:22.04:LTS | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120642 |
| Ubuntu:24.04:LTS | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120642 |
| Ubuntu:26.04:LTS | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120642 |
| Ubuntu:26.10 | libcgi-pm-perl | no fix listed | UBUNTU-CVE-2026-120642 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| CGI | 0 – before 5.00 |
Weakness: CWE-1173