Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-120642

Опубликовано: 03 нояб. 2026
Источник: redhat
CVSS3: 8.1
EPSS Низкий

Описание

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.

A flaw was found in perl-cgi. When running under Perl's taint mode—a security feature that prevents untrusted data from being used in sensitive operations—the module returns several request-derived values without taint flags. A remote attacker could exploit this vulnerability by submitting crafted request parameters to bypass taint checks, potentially allowing unvalidated data to reach sensitive operations in applications that rely on taint verification.

Отчет

Red Hat has evaluated this vulnerability as Important because it compromises Perl's core taint security boundary in environments where perl-CGI is deployed to handle untrusted web requests. While exploitation depends on scripts explicitly enforcing taint checks and passing affected parameter fields into privileged execution paths, this failure allows unauthenticated remote attackers to bypass trust restrictions. The perl-CGI component is not active by default in Red Hat Enterprise Linux and is limited to systems where legacy CGI scripts are configured.

Меры по смягчению последствий

--- CME Mitigation Guidance (2026-11-04) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce strict allowlist validation on all CGI request parameters and upload metadata before passing them into sensitive operations: upgrade to CGI 5.00 (or the fixed Perl Cgi builds), which append a tainted substring to request-derived hash keys and regex capture values before returning them, closing all 5 injection vectors (crafted upload filenames, crafted uploadInfo header values, crafted path_info or script_name values, crafted Accept header values, crafted url_param or cookie names). Until patched, this is a concern on applications running under Perl taint mode (-T) that rely on taint verification for CGI request metadata and parameter keys, so audit and explicitly untaint or validate all request metadata, file upload headers, and parameter names before passing them to sensitive functions like open or system. As a compensating measure, use direct process execution without shell invocation when passing CGI-derived values to process sinks, validate and sanitize upload filenames and uploadInfo headers against strict extension and content allowlists before processing, run SELinux in enforcing mode to confine the web server and CGI process domain, and apply enforcing AppArmor profiles to restrict file access and process execution for CGI scripts. These controls limit blast radius and contain exploitation, but they do not fix the underlying taint-check bypass defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-1315 Allowlist-Preferred Input Validation (Deny-by-Default Filtering) (high)

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 7perl-CGIAffected
Red Hat Enterprise Linux 10perl-CGIFixedRHSA-2026:9921211.11.2026
Red Hat Enterprise Linux 10.2 Extended Update Supportperl-CGIFixedRHSA-2026:9921411.11.2026
Red Hat Enterprise Linux 8perl-CGIFixedRHSA-2026:9984912.11.2026
Red Hat Enterprise Linux 9perl-CGIFixedRHSA-2026:9921512.11.2026
Red Hat Enterprise Linux 9.8 Extended Update Supportperl-CGIFixedRHSA-2026:9921312.11.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-501
https://bugzilla.redhat.com/show_bug.cgi?id=2566605perl-cgi: perl-cgi: Security feature bypass via untainted request parameters

EPSS

Процентиль: 37%
0.00424
Низкий

8.1 High

CVSS3

Связанные уязвимости

CVSS3: 9.1
ubuntu
14 дней назад

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.

CVSS3: 9.1
nvd
14 дней назад

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.

CVSS3: 9.1
msrc
около 16 часов назад

CGI versions before 5.00 for Perl return request-derived values untainted under taint mode

CVSS3: 9.1
debian
14 дней назад

CGI versions before 5.00 for Perl return request-derived values untain ...

CVSS3: 9.1
github
14 дней назад

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.

EPSS

Процентиль: 37%
0.00424
Низкий

8.1 High

CVSS3