CVE-2026-120642
JSON

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 packageVersionsReported by
CGIbefore 5.00CVE List

Classification

CWE-1173

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120642 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-120642 changed 2026-11-09Public domain