{"id":"CVE-2026-120642","summary":"CGI versions before 5.00 for Perl return request-derived values untainted under taint mode","details":"CGI versions before 5.00 for Perl return request-derived values untainted under taint mode.\n\nThe 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.\n\nThese values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.","modified":"2026-11-13T12:27:15.005931126Z","published":"2026-11-03T23:40:44.224Z","related":["ALSA-2026:99849","openSUSE-SU-2026:12465-1"],"database_specific":{"cwe_ids":["CWE-1173"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120642.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"fixed":"5.00"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"fixed":"5.00"}],"source":"DESCRIPTION"}]}],"cna_assigner":"CPANSec"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120642.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120642"},{"type":"FIX","url":"https://github.com/leejo/CGI.pm/commit/6ae50ce84073b8f68a6e3750479de70d5b8f2dcf.patch"},{"type":"PACKAGE","url":"https://github.com/leejo/CGI.pm"},{"type":"ARTICLE","url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leejo/cgi.pm","events":[{"introduced":"0"},{"fixed":"6ae50ce84073b8f68a6e3750479de70d5b8f2dcf"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"6ae50ce84073b8f68a6e3750479de70d5b8f2dcf"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.72","v4.71","v4.70","4.69","v4.68","v4.67","v4.65","v4.64","v4.63","v4.62","v4.61","v4.60","v4.59","v4.58","v4.57","v4.56","v4.55","v4.54","v4.53","v4.51","v4.49","v4.48","v4.47","v4.46","v4.45","v4.44","v4.42","v4.41","v4.40","v4.38","v4.37","v4.36","v4.35","v4.34","v4.33","v4.32","v4.31","v4.30","v4.29","v4.27","v4.26","v4.25","v4.24","v4.23","v4.22","v4.21","v4.20","v4.15","v4.13","v4.12","v4.11","v4.10","v4.09","v4.08","v4.05","v4.03","v4.02","v4.01","v4.00","v3.64-take-three","v3.64","v3.63","v3.62","v3.61","v3.58","v3.56","v3.53.1","v3.53","v3.52","v3.51"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120642.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}