Read the docs

CGI for Perl returns request values untainted under taint mode

Priority LOW 22CWE-1173Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Partial Red Hat: 4 without a fix

No CVSS vector from any source. Fix status from CNA and Red Hat.

Summary

CGI for Perl versions before 5.00 return request-derived values without the taint flag when Perl's taint mode is in use. The upload filename, uploadInfo values, some path_info and script_name values, and cookie names are returned untainted because they come from regex captures or hash keys, which Perl does not taint. Taint checks therefore pass these values without validation, which is the weakness recorded as CWE-1173.

Written with Claude Haiku 5.5 from the sources below · 2026-11-04

Description from the CNA

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.

Why it matters now

EPSS 0.00191 8th percentileScored 2026-11-07
Fix Partial CGI: 5.00Red Hat: 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—CGIbefore 5.005.00Patch availableCNA
  • CGI Vendor— Affected before 5.00 Fixed in 5.00 Patch available CNA

Remediation

Upgrade CGI for Perl to version 5.00, which fixes this flaw. Red Hat lists Red Hat Enterprise Linux 7, 8, 9 and 10 as affected with the plan none available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-04

  • Fix · CNA CGI Fixed in 5.00

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet

Timeline

  1. 2026-11-03 Threatist record created from CVE-2026-120642
  2. 2026-11-04 Affected versions changed · Red Hat
  3. 2026-11-04 CVSS score added · Red Hat
  4. 2026-11-04 Alias added: GHSA-mqfc-h2mx-w8gc

References

Sources