CVE-2026-120647: CGI Perl - Header Injection
- Cve: CVE-2026-120647
- Name: CGI Perl - Header Injection
- 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.
- Impact: Attackers can manipulate response headers to change the filename under which content is saved, potentially misleading users or causing confusion.
- Remediation: Update to version 5.00 or later.
- Vulnerability type: header_injection
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00612
- Epss percentile: 0.50038
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-11-04T00:17:26Z
- Age in days: 20
- Modified at: 2026-11-09T20:18:06Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120647
- Nvd status: deferred
- Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-116 | Improper Encoding or Escaping of Output |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| leejo/CGI.pm | commit, fix | yes | /v1/repositories/leejo/CGI.pm |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts