CVE-2026-120647
9.8 Critical
AI summary
Perl CGI before 5.00 does not escape double quotes in the Content-Disposition attachment filename, so if an application passes request data, a remote attacker can change the name the response is saved under. Critical (CVSS 9.8); upgrade to 5.00.
Official 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.
- Published
- 2026-11-04 00:17 UTC
- Modified
- 2026-11-09 20:18 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.65% (percentile 46)
- ENISA EUVD
- EUVD-2026-116614
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-116
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/leejo/CGI.pm/commit/131280a5c5bc51b65797bd57ef0ee8da8468065b.patch - metacpan.org
https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm - metacpan.org
https://metacpan.org/release/LEEJO/CGI-5.00/changes