Live threats

All CVEs

CVE-2026-120647

Content-Disposition Parameter Injection in CGI for Perl

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Nov 4, 2026
Updated
Nov 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

CGI for Perl versions before 5.00 allows Content-Disposition parameter injection through unescaped double quotes in the attachment filename. An attacker can manipulate the response filename by injecting data into the filename parameter via unvalidated request data.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.00

Update CGI to version 5.00 or later to properly escape double quotes in the Content-Disposition filename parameter.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.