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.
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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
Upgrade to CGI 5.00 or later.
Workaround
No workaround given by the vendor.
References
History
Wed, 04 Nov 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | CGI versions before 5.00 for Perl return request-derived values untainted under taint mode | |
| Weaknesses | CWE-1173 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-03T23:40:44.224Z
Reserved: 2026-11-02T17:42:30.753Z
Link: CVE-2026-120642
No data.
Status : Received
Published: 2026-11-04T00:17:25.650
Modified: 2026-11-04T00:17:25.650
Link: CVE-2026-120642
No data.
OpenCVE Enrichment
No data.
Weaknesses