CVE-2026-120647
9.8 CRITICALpublic exploit availablePublished 2026-11-04 · Updated 2026-11-09
AI risk analysis
- Summary
- A parameter injection flaw in Perl's CGI module (before 5.00) allows attackers to inject additional Content-Disposition header parameters by injecting unescaped double quotes into the attachment filename. This enables manipulation of the downloaded file's name, potentially leading to misleading filenames or header parsing confusion.
- Exploitability
- Exploitation requires control over the $name argument passed to header(-attachment => $name), typically via unsanitized user input in web applications using the affected CGI module version.
- Blast radius
- Successful exploitation could enable phishing via malicious filename injection, session fixation via cookie injection into headers, or header smuggling in downstream proxies if the server does not sanitize headers.
- Detection
- Defenders should inspect web server access logs for Content-Disposition headers containing unescaped double quotes or multiple filename parameters (e.g., filename="x"; filename="y"). Additionally, monitor application logs for unexpected or malformed attachment filenames derived from user input.
- Prioritized remediation
- Upgrade to CGI.pm version 5.00 or later, which properly escapes double quotes in the Content-Disposition filename parameter.
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 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-116
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
- CRITICALCVE-2026-120637PoC
- CRITICALCVE-2026-120644PoC
- CRITICALCVE-2026-18516
- CRITICALCVE-2026-100714PoC
- CRITICALCVE-2026-101090PoC
- HIGHCVE-2026-118315
- CRITICALCVE-2026-120642PoC
- CRITICALCVE-2026-121265
Related by shared AI tags and CWE weakness class. Browse the full archive.