CVE-2026-120642
9.1critical
CGI versions before 5.00 for Perl return request-derived values untainted under taint mode
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CPANSec
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
| Product or package | Versions | Reported by |
|---|---|---|
| CGI | before 5.00 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120642 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-120642 changed 2026-11-09 | Public domain |