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

exploitDog

redhat логотип

CVE-2026-85013

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

Описание

A flaw was found in environment-modules. A local attacker can exploit this vulnerability by placing a maliciously named modulefile in a location visible to the victim's MODULEPATH. When the victim uses Bash completion for module or ml commands, the malicious module name, containing shell metacharacters, is evaluated as a command. This can lead to arbitrary command execution in the completing user's shell, impacting their confidentiality, integrity, and availability.

Отчет

This Moderate impact flaw in environment-modules allows a local attacker to execute arbitrary commands by crafting malicious module names. Exploitation requires the attacker to influence the MODULEPATH and the victim to use Bash completion for module or ml commands, triggering the vulnerability through user interaction. This limits the broad exploitability, aligning with a Moderate classification.

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

To mitigate this issue, avoid enabling Bash completion for module and ml in environments where untrusted users can influence MODULEPATH. Additionally, ensure that shared module search paths do not include attacker-writable directories. As a practical measure, the affected completion script can be removed or disabled by commenting out its sourcing in shell configuration files (e.g., ~/.bashrc or /etc/profile.d/). Users must start a new shell session for changes to take effect.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6environment-modulesOut of support scope
Red Hat Enterprise Linux 7environment-modulesAffected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat Enterprise Linux 10environment-modulesFixedRHSA-2026:8066412.10.2026
Red Hat Enterprise Linux 10environment-modulesFixedRHSA-2026:9856511.11.2026
Red Hat Enterprise Linux 8environment-modulesFixedRHSA-2026:8291914.10.2026
Red Hat Enterprise Linux 9environment-modulesFixedRHSA-2026:8459419.10.2026
Red Hat Enterprise Linux 9environment-modulesFixedRHSA-2026:9846011.11.2026
Red Hat Hardened Imagesenvironment-modules-main-5.6.2-1.hum1FixedRHSA-2026:6476607.09.2026

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

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

Статус:

Moderate
Дефект:
CWE-78
https://bugzilla.redhat.com/show_bug.cgi?id=2465635environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters

EPSS

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

7.3 High

CVSS3

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

CVSS3: 7.3
ubuntu
2 месяца назад

A flaw was found in environment-modules. A local attacker can exploit this vulnerability by placing a maliciously named modulefile in a location visible to the victim's `MODULEPATH`. When the victim uses Bash completion for `module` or `ml` commands, the malicious module name, containing shell metacharacters, is evaluated as a command. This can lead to arbitrary command execution in the completing user's shell, impacting their confidentiality, integrity, and availability.

CVSS3: 7.3
nvd
2 месяца назад

A flaw was found in environment-modules. A local attacker can exploit this vulnerability by placing a maliciously named modulefile in a location visible to the victim's `MODULEPATH`. When the victim uses Bash completion for `module` or `ml` commands, the malicious module name, containing shell metacharacters, is evaluated as a command. This can lead to arbitrary command execution in the completing user's shell, impacting their confidentiality, integrity, and availability.

CVSS3: 7.3
msrc
около 1 месяца назад

Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters

CVSS3: 7.3
debian
2 месяца назад

A flaw was found in environment-modules. A local attacker can exploit ...

rocky
6 дней назад

Moderate: environment-modules security update

EPSS

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

7.3 High

CVSS3