CVE-2026-120647
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 package | Versions | Reported by |
|---|---|---|
| CGI | before 5.00 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120647 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-120647 changed 2026-11-09 | Public domain |