Read the docs

CGI for Perl lets clients set POSTDATA, PUTDATA, PATCHDATA parameters

Priority LOW 22CWE-352Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Tampering
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. Impact type from CWE-352.

Summary

CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields. CGI stores a non-form request body under POSTDATA, PUTDATA or PATCHDATA, and an XForms body under XForms:Model, but also accepts these names from the query string, a form field or a multipart part, so an application cannot tell a client-sent value from the real body. A cross-site HTML form can post POSTDATA={"admin":true} to an endpoint that reads JSON from param('POSTDATA'), forging a request that needs no CORS preflight. The weakness is CWE-352, Cross-Site Request Forgery.

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

Description from the CNA

CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields. CGI stores a non-form request body under POSTDATA, PUTDATA or PATCHDATA, and an XForms body under XForms:Model, but also accepts these names from the query string, a form field or a multipart part, so an application cannot tell a client-sent value from the real body. A cross-site HTML form can post POSTDATA={"admin":true} to an endpoint that reads JSON from param('POSTDATA'), a request forgery that needs no CORS preflight.

Why it matters now

EPSS 0.00131 2nd 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

Update CGI to version 5.00 or later. Red Hat rates this Moderate and lists no available fix for Red Hat Enterprise Linux 7, 8, 9 or 10.

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: Moderate. Red Hat's page for this CVE →

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

Timeline

  1. 2026-11-03 Threatist record created from CVE-2026-120640
  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-2xpc-hf7c-cgvh

References

Sources