Patchfirst
CVE-2026-120647 Critical · 9.8 EPSS 0.6%

CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the…

Fix:see the vendor's fix instructions Instructions ↓

Summary

The CGI module for Perl, in versions before 5.00, contains a flaw in the header() method's handling of the attachment argument: the value is written into the quoted filename parameter of the Content-Disposition header without escaping double quotes.

Official description · NVD

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.

Breakdown
19.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 4 Nov 2026. No public exploit code or confirmed exploitation is recorded.

2 related vulnerabilities in the same code on the same day.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2026-120637CGI versions before 5.00 for Perl take request parameters from…4 Nov 2026
  2. relatedMedium

    Why these are linked:

    This CVECVE-2026-120647CGI versions before 5.00 for Perl allow Content-Disposition…4 Nov 2026

Affected versions and fixes

as published in the CVE record

Affected product

Affected: < 5.00

Fix

Upgrade to CGI 5.00 or later.

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close