← Back to search

CVE-2026-120637

9.8 CRITICALpublic exploit available

Published 2026-11-04 · Updated 2026-11-09

AI risk analysis

Summary
CGI.pm versions before 5.00 for Perl incorrectly process request parameters from command-line arguments when an unrecognized REQUEST_METHOD (e.g., OPTIONS) triggers offline debugging mode, allowing attackers to inject arbitrary parameters and path_info via HTTP requests that manipulate the web server's invocation context.
Exploitability
Exploitation requires the vulnerable CGI script to be invoked with an unsupported REQUEST_METHOD and the attacker must control or influence the process command line (e.g., via mod_cgi with specific Apache configurations), making it conditionally high but not trivial.
Blast radius
Successful exploitation could lead to remote code execution, data exfiltration, or service disruption depending on how the CGI script uses the injected parameters and path_info.
Detection
Defenders should monitor web server access logs for requests using non-standard or unsupported REQUEST_METHODs (e.g., OPTIONS, TRACE) that result in unexpected parameter parsing behavior, especially when combined with suspicious command-line-like query strings or headers; additionally, audit process command lines of CGI processes for anomalous argument patterns matching HTTP request parameters.
Prioritized remediation
Upgrade to CGI.pm version 5.00 or later; if upgrading is not immediately feasible, disable offline debugging mode by setting $CGI::DEBUG to 0 in the script or globally via environment variable.
rceparameter-injectionwebperlcgi

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

CGI versions before 5.00 for Perl take request parameters from the process command line arguments for an unrecognised REQUEST_METHOD. For a REQUEST_METHOD such as OPTIONS, CGI falls through to its offline debugging mode, which is on by default, and builds the parameters and path_info from the process's command line arguments.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-489

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.