CVE-2026-120642
CGI versions before 5.00 for Perl return request-derived values untainted under taint mode
- Severity
- critical CVSS 9.1 (v3.1)
- Weakness
- CWE-1173 Improper Use of Validation Framework
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- perlPackages.CGI: security issues < 5.00 (#583064)
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)