CVE-2026-120647
JSON

9.8critical

CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename. header(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes. An application that passes request data as the attachment name can be made to send a second filename parameter, changing the name the response is saved under.

Affected

Product or packageVersionsReported by
CGIbefore 5.00CVE List

Classification

CWE-116

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

References

Sources

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