Live threats

All CVEs

CVE-2026-120642

Taint validation bypass in CGI for Perl

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Nov 4, 2026
Updated
Nov 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1173
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:N

What happens

CGI for Perl versions before 5.00 return request-derived values without the taint flag under taint mode, allowing unvalidated data to bypass security checks. Upload filenames, uploadInfo values, path_info, script_name, Accept results, and parameter/cookie name lists are returned untainted, enabling attackers to circumvent validation controls.

Show the original NVD text

CGI versions before 5.00 for Perl return request-derived values untainted under taint mode. The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param and cookie are returned without the taint flag, as is a cookie named expires from 4.67 on. These values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.00

Update CGI to version 5.00 or later to restore proper taint marking on all request-derived values.

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

Also: Red Hat (+2)

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

Official sources

References

Links published by the sources. Open them with care.